diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2017-10-28 22:33:53 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2017-10-29 08:42:03 +0100 |
commit | aee9099a44c5af4c445bd2dfd62036ecb29b959a (patch) | |
tree | fe1ded17aaf66c70b19c5111853ebd4a253df11e /build-aux%25252525253fid%25252525253d8b92fde3a3d4213ac6736c2b73328a98be250bcc%252525253fid%252525253d2fc161f4d275a07e39a8967b2194ceb80a227cb4%2525253fid%2525253d4dbb00c595ef46d42eb6d44c8e4da489a3029eed%25253fid%25253d4dbb00c595ef46d42eb6d44c8e4da489a3029eed%253fid%253dbf6ca4405ae7078d224862025a30dfaa06601a28%3fid%3dbf6ca4405ae7078d224862025a30dfaa06601a28?id=aee9099a44c5af4c445bd2dfd62036ecb29b959a | |
parent | 012a0e6670533911d70f47533e064969c7fc3b65 (diff) |
Detect error on character input
Previously an error from the character input routine wgetch() was
silently ignored. It should still be ignored, but must explicitly be
detected in order to be ignored. The issue came up in connection with
terminal window resize. For whatever reasons ncurses returns ERR (as
well as KEY_RESIZE) when wgetch() asks for input after a resize.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'build-aux%25252525253fid%25252525253d8b92fde3a3d4213ac6736c2b73328a98be250bcc%252525253fid%252525253d2fc161f4d275a07e39a8967b2194ceb80a227cb4%2525253fid%2525253d4dbb00c595ef46d42eb6d44c8e4da489a3029eed%25253fid%25253d4dbb00c595ef46d42eb6d44c8e4da489a3029eed%253fid%253dbf6ca4405ae7078d224862025a30dfaa06601a28%3fid%3dbf6ca4405ae7078d224862025a30dfaa06601a28?id=aee9099a44c5af4c445bd2dfd62036ecb29b959a')
0 files changed, 0 insertions, 0 deletions