diff options
author | N-R-K <79544946+N-R-K@users.noreply.github.com> | 2022-01-03 15:24:26 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-03 09:24:26 +0000 |
commit | 1a185237723229720260a04cb61fcffa96dab4d9 (patch) | |
tree | ad9372368d36e6adca24c1daf1a3b4cd3cfdeb0d /LICENSE | |
parent | f7145db7f8a5d136a522e0045e5ff39b2279e04c (diff) |
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 'LICENSE')
0 files changed, 0 insertions, 0 deletions