diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-10-10 14:02:25 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-10-10 14:02:25 +0200 |
commit | 80018210ebc97112c37ece4a3f4109bf97731530 (patch) | |
tree | 542b06aea3abf0bc4294450e4fd6dbed2646922d /src/gui/gui-completion.c | |
parent | 5d07aa14ed58bb7ba3a4566955d471861488f056 (diff) | |
download | weechat-80018210ebc97112c37ece4a3f4109bf97731530.zip |
Use key shift-tab to force partial completion (when no completion is pending), remove automatic partial completion on option names
Behaviour of shift-key stays the same if there's a completion found, it completes with previous completion found.
Diffstat (limited to 'src/gui/gui-completion.c')
-rw-r--r-- | src/gui/gui-completion.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/gui-completion.c b/src/gui/gui-completion.c index ef1b8f25e..f104d6119 100644 --- a/src/gui/gui-completion.c +++ b/src/gui/gui-completion.c @@ -592,8 +592,6 @@ gui_completion_list_add_option (struct t_gui_completion *completion) int length; char *option_full_name; - completion->force_partial_completion = 1; - for (ptr_config = config_files; ptr_config; ptr_config = ptr_config->next_config) { @@ -1567,6 +1565,7 @@ gui_completion_search (struct t_gui_completion *completion, int direction, free (completion->word_found); completion->word_found = NULL; gui_completion_find_context (completion, data, size, pos); + completion->force_partial_completion = (direction < 0); } /* completion */ |