diff options
author | N-R-K <79544946+N-R-K@users.noreply.github.com> | 2021-10-07 06:37:34 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-07 00:37:34 +0000 |
commit | 6ce94e3e3b8cccab0a5cc23c7538ad19626c1c1d (patch) | |
tree | f925a23624f967dcc31c4759d29f2f65b3dae7fa /commands.c | |
parent | e8d08ba67edf407884fa36f11c027cd7c0d4e46d (diff) |
add statusbar message upon key-hander activation (#98)
Currently when running the key-handler the statusbar shows a
"Running key-handler..." message, but there's no indication of the prefix key
being pressed.
There's a slight functional benefit of this patch in the sense
that users can visually tell if the key-handler is listening on input or if the
key-handler has been aborted or not.
Diffstat (limited to 'commands.c')
-rw-r--r-- | commands.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -37,6 +37,7 @@ void animate(void); void slideshow(void); void set_timeout(timeout_f, int, bool); void reset_timeout(timeout_f); +void handle_key_handler(bool); extern appmode_t mode; extern img_t img; @@ -114,7 +115,7 @@ bool cg_toggle_bar(arg_t _) bool cg_prefix_external(arg_t _) { - extprefix = true; + handle_key_handler(true); return false; } |