mirror of https://codeberg.org/nsxiv/nsxiv
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.pull/167/head
parent
f7145db7f8
commit
1a18523772
Loading…
Reference in New Issue