diff options
author | Vhati | 2019-02-01 20:23:31 -0500 |
---|---|---|
committer | Filippos Karapetis | 2019-02-03 22:16:40 +0200 |
commit | 90f6d119cfa15a004cfe16a4155bb43ce5b7aa32 (patch) | |
tree | 00a9501015287dfb3ef292cd37558ad6b25af328 /engines/saga/sfuncs.cpp | |
parent | 4129da510e448f68e34e26890edefb0fbc002ca4 (diff) | |
download | scummvm-rg350-90f6d119cfa15a004cfe16a4155bb43ce5b7aa32.tar.gz scummvm-rg350-90f6d119cfa15a004cfe16a4155bb43ce5b7aa32.tar.bz2 scummvm-rg350-90f6d119cfa15a004cfe16a4155bb43ce5b7aa32.zip |
GUI: Flush debugger prompts on text console
When built with enable-text-console and disable-readline, flushing output
immediately after printing the debugger prompt, before waiting for input,
ensures that external tools can spawn ScummVM, detect the prompt, and pipe
in automated responses (e.g., expect scripts).
Explicit flushing was necessary at least on Windows, where support for
automating terminal input is less sophisticated. Otherwise, the prompt
string doesn't make it through the pipe, and both the script and ScummVM
get stuck waiting for input.
Diffstat (limited to 'engines/saga/sfuncs.cpp')
0 files changed, 0 insertions, 0 deletions