Modified the handle_ENTER function in command_prompt.c and completed the code in main.c