Allow to quit console with CTRL + C

This commit is contained in:
Carsten Sonne Larsen 2021-01-15 00:20:47 +01:00
parent 0240d3a439
commit ffa586c694
1 changed files with 5 additions and 0 deletions

View File

@ -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)