Open Jonoans opened 11 months ago
Assuming this is equivalent to cntrl c on windows ,force quitting the programme is not a potential bug, has cleared this with prof before, attached below is a screenshot for reference
Team chose [response.NotInScope
]
Reason for disagreement: Hmm, I would say though that CTRL+D is not exactly the same as CTRL+C.
CTRL+C sends an interrupt signal to the Java VM, thus, the program exits.
However, CTRL+D sends an EOF to the stdin which is something the application would need to handle, which isn't the same as sending a termination signal.
Hitting CTRL-D on Mac when program expects a command crashes the program