public property quitOnCtrlC as Boolean:
Controls whether an unhandled Ctrl+C exits the terminal application.
The default value is true to keep terminal samples convenient. Apps that reserve Ctrl+C for copy/cancel workflows can set it to false and call exit() only from their explicit command handling.
terminal = Terminal.instance terminal.quitOnCtrlC = false