mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 08:13:14 +02:00
core: make "input_commands_allowed" work with /wait and /repeat commands (issue #928)
This commit is contained in:
+1
-1
@@ -432,7 +432,7 @@ gui_input_return (struct t_gui_buffer *buffer)
|
||||
gui_input_text_changed_modifier_and_signal (buffer,
|
||||
0, /* save undo */
|
||||
1); /* stop completion */
|
||||
(void) input_data (buffer, command);
|
||||
(void) input_data (buffer, command, NULL);
|
||||
free (command);
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -1159,7 +1159,7 @@ gui_key_focus_command (const char *key, int context,
|
||||
command,
|
||||
ptr_buffer->full_name);
|
||||
}
|
||||
(void) input_data (ptr_buffer, command);
|
||||
(void) input_data (ptr_buffer, command, NULL);
|
||||
free (command);
|
||||
}
|
||||
}
|
||||
@@ -1388,7 +1388,7 @@ gui_key_pressed (const char *key_str)
|
||||
for (i = 0; commands[i]; i++)
|
||||
{
|
||||
(void) input_data (gui_current_window->buffer,
|
||||
commands[i]);
|
||||
commands[i], NULL);
|
||||
}
|
||||
string_free_split (commands);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user