1
0
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:
Sébastien Helleu
2019-03-28 18:45:22 +01:00
parent 9b4fa10923
commit 2f37de9148
7 changed files with 102 additions and 76 deletions
+1 -1
View File
@@ -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
View File
@@ -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);
}