diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2021-12-22 20:41:31 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2021-12-22 20:52:28 +0100 |
commit | 3706112c6bff358f1467afced9ff29d8a3246eb2 (patch) | |
tree | 1c4b9f751534caf251f39f5cfe6318ed148f1c06 /src/spawn.c | |
parent | 3614e5877818a3f3e187b43f8247cabaf842c39f (diff) | |
download | sciteco-3706112c6bff358f1467afced9ff29d8a3246eb2.tar.gz |
Curses: added teco_interface_is_interrupted() fallback and standardized how to detect interactive/batch mode
* Adds support for CTRL+C interruptions on Curses variants like PDCurses/GUI and XCurses.
This also affects the current Win32 nightly builds which should now support CTRL+C interruptions.
* The fallback is of course less efficient than the existing platform optimizations (existing for
UNIX and Win32 console builds) and slows down parsing in interactive mode.
* Use teco_interface.cmdline_window consistently to detect interactive mode.
This may theoretically speed up SciTECO code execution slightly on shutdown.
Diffstat (limited to 'src/spawn.c')
0 files changed, 0 insertions, 0 deletions