summaryrefslogtreecommitdiff
path: root/src/gui/curses
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-06-18 16:47:09 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-06-18 16:47:09 +0200
commit66e8d703bd12c3c5da29c091d14485e260f6ab31 (patch)
tree0b2fa44b1da0c0d5c105c3426c0900ef3d2a4363 /src/gui/curses
parent47c9c68b40dfaaf0f61f0d3ee1d37db1934f241a (diff)
downloadweechat-66e8d703bd12c3c5da29c091d14485e260f6ab31.zip
Add new options for completion, optional stop instead of cycling with words found
Diffstat (limited to 'src/gui/curses')
-rw-r--r--src/gui/curses/gui-curses-keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/curses/gui-curses-keyboard.c b/src/gui/curses/gui-curses-keyboard.c
index 42ad87686..7ed66b57c 100644
--- a/src/gui/curses/gui-curses-keyboard.c
+++ b/src/gui/curses/gui-curses-keyboard.c
@@ -297,7 +297,7 @@ gui_keyboard_flush ()
gui_input_insert_string (gui_current_window->buffer,
key_str, -1);
if (gui_current_window->buffer->completion)
- gui_current_window->buffer->completion->position = -1;
+ gui_completion_stop (gui_current_window->buffer->completion, 0);
input_draw = 1;
}