1
0
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:
2021-01-15 00:20:47 +01:00
parent 0240d3a439
commit ffa586c694

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)