diff options
Diffstat (limited to 'src/gui/curses/gui-curses-keyboard.c')
-rw-r--r-- | src/gui/curses/gui-curses-keyboard.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-keyboard.c b/src/gui/curses/gui-curses-keyboard.c index be37301ff..04bd9df8f 100644 --- a/src/gui/curses/gui-curses-keyboard.c +++ b/src/gui/curses/gui-curses-keyboard.c @@ -286,6 +286,9 @@ gui_keyboard_flush () /*gui_printf (gui_current_window->buffer, "gui_input_read: key = %s (%d)\n", key_str, key);*/ + hook_signal_send ("key_pressed", + WEECHAT_HOOK_SIGNAL_STRING, key_str); + if (gui_current_window->buffer->text_search != GUI_TEXT_SEARCH_DISABLED) input_old = (gui_current_window->buffer->input_buffer) ? strdup (gui_current_window->buffer->input_buffer) : strdup (""); |