diff options
Diffstat (limited to 'src/local')
-rw-r--r-- | src/local/term.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/local/term.nim b/src/local/term.nim index 29a0a68b..e8f989cd 100644 --- a/src/local/term.nim +++ b/src/local/term.nim @@ -212,6 +212,7 @@ proc isatty*(term: Terminal): bool = proc anyKey*(term: Terminal; msg = "[Hit any key]") = if term.isatty(): term.outfile.write(term.clearEnd() & msg) + term.outfile.flushFile() discard term.istream.sreadChar() proc resetFormat(term: Terminal): string = |