aboutsummaryrefslogtreecommitdiffstats
path: root/commands.c
diff options
context:
space:
mode:
authorN-R-K <79544946+N-R-K@users.noreply.github.com>2022-01-03 10:24:26 +0100
committerGitHub <noreply@github.com>2022-01-03 10:24:26 +0100
commit1a185237723229720260a04cb61fcffa96dab4d9 (patch)
treead9372368d36e6adca24c1daf1a3b4cd3cfdeb0d /commands.c
parentf7145db7f8a5d136a522e0045e5ff39b2279e04c (diff)
downloadnsxiv-1a185237723229720260a04cb61fcffa96dab4d9.tar.zst
fix: reset statusbar after failed keyhandler (#191)
currently if the keyhandler invocation fails, for example due to it not being present, the statusbar does not reset and stays on "getting keyhandler input" message. now the return value from run_key_handler() is used to determine if the function was successful or not. and if the function failed, we call handle_key_handler() with false which resets the statusbar. we also no longer call redraw() within run_key_handler() and instead assign it's return value to dirty which does a redraw if true.
Diffstat (limited to 'commands.c')
0 files changed, 0 insertions, 0 deletions