mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 05:16:38 +02:00
Fix completion bug for commands when input starts with two command chars (like //)
This commit is contained in:
@@ -1551,7 +1551,7 @@ gui_completion_find_context (struct t_gui_completion *completion,
|
||||
/* look for context */
|
||||
gui_completion_free_data (completion);
|
||||
gui_completion_buffer_init (completion, completion->buffer);
|
||||
command = (string_input_for_buffer (data)) ? 0 : 1;
|
||||
command = (string_is_command_char (data)) ? 1 : 0;
|
||||
command_arg = 0;
|
||||
i = 0;
|
||||
while (i < pos)
|
||||
|
||||
Reference in New Issue
Block a user