1
0
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:
Sebastien Helleu
2009-10-05 16:42:49 +02:00
parent 7b2f578ac4
commit 2bfe49d28b
11 changed files with 46 additions and 14 deletions
+13 -1
View File
@@ -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);
}
/*