mirror of
https://gitlab.com/rnger/amath
synced 2025-10-05 02:19:17 +00:00
Allow to quit console with CTRL + C
This commit is contained in:
@ -80,6 +80,11 @@ void AmigaShellConsole::ReadLine()
|
||||
{
|
||||
Flush(Input());
|
||||
FGets(Input(), line, linesize);
|
||||
|
||||
if (CheckSignal(SIGBREAKF_CTRL_C))
|
||||
{
|
||||
exit = true;
|
||||
}
|
||||
}
|
||||
|
||||
void AmigaShellConsole::WriteString(const char* string)
|
||||
|
Reference in New Issue
Block a user