Author: Unknown
Subject: Ctrl-C Behavior
Date: Thursday, 22 Oct 2020, 12:58:58
What is the expected behavior of mcBash when a Keyboard Interrupt (Ctrl+C) is encountered? In particular, is there any output that should be written before exiting in this case? When running the staff solution, it visually appears that a newline is outputted before exiting after (Ctrl+C). However, when redirecting either the stdout or stderr of mcBash when Ctrl+c, it seems that there isn't a newline in either. So are we supposed to write a newline in the case of a keyboard interrupt, and if so where?PREV INDEX NEXT