diff options
Diffstat (limited to 'engines/glk/frotz/processor_streams.cpp')
-rw-r--r-- | engines/glk/frotz/processor_streams.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/glk/frotz/processor_streams.cpp b/engines/glk/frotz/processor_streams.cpp index 8413f4bb6e..581eb1e928 100644 --- a/engines/glk/frotz/processor_streams.cpp +++ b/engines/glk/frotz/processor_streams.cpp @@ -182,6 +182,8 @@ continue_input: key = replay_read_input(buf); else key = console_read_input(max, buf, timeout, key != ZC_BAD); + if (shouldQuit()) + return ZC_BAD; } while (key == ZC_BAD); // Copy input line to the command file |