diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2021-12-24 03:39:39 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2022-01-15 10:52:23 +0100 |
commit | 9a5e3635ead77e7777ef44779548f1cd3c7ef805 (patch) | |
tree | c7c56ebd4b7841bb3b68b10f530d6b7b88a47043 /src/string-utils.c | |
parent | 3706112c6bff358f1467afced9ff29d8a3246eb2 (diff) | |
download | sciteco-9a5e3635ead77e7777ef44779548f1cd3c7ef805.tar.gz |
fixup: use a dedicated input queue data structures (teco_interface.input_queue)
* Using ungetch() was of course broken and could easily result in hangs as wgetch()
would never return ERR.
* This wastes some bytes on platforms that do not need the
teco_interface_is_interrupted() fallback.
* introduced teco_interface_blocking_getch()
* FIXME: This is still way too slow on PDCurses/GUI on Windows but
this can potentially be fixed upstream.
Diffstat (limited to 'src/string-utils.c')
0 files changed, 0 insertions, 0 deletions