mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 03:33:12 +02:00
Add option grab_key_command for /input (bound by default to alt-k)
New binding for alt-k is not automatic (for existing config), if you want to use it, you can do: /key bind meta-k /input grab_key_command
This commit is contained in:
+13
-1
@@ -1224,7 +1224,19 @@ void
|
||||
gui_input_grab_key ()
|
||||
{
|
||||
if (gui_current_window->buffer->input)
|
||||
gui_keyboard_grab_init ();
|
||||
gui_keyboard_grab_init (0);
|
||||
}
|
||||
|
||||
/*
|
||||
* gui_input_grab_key_command: init "grab key mode" (next key and command
|
||||
* bound will be inserted into input buffer)
|
||||
*/
|
||||
|
||||
void
|
||||
gui_input_grab_key_command ()
|
||||
{
|
||||
if (gui_current_window->buffer->input)
|
||||
gui_keyboard_grab_init (1);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user