mirror of
https://github.com/irssi/irssi.git
synced 2026-08-21 17:42:49 +02:00
Stop the 'complete word' signal in the default completer when the
channel name completion list is non empty, bug #316. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4828 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
24fe627a25
commit
b8ac543f82
1 changed files with 1 additions and 0 deletions
|
|
@ -632,6 +632,7 @@ static void sig_complete_word(GList **list, WINDOW_REC *window,
|
||||||
if (server != NULL && server_ischannel(server, word)) {
|
if (server != NULL && server_ischannel(server, word)) {
|
||||||
/* probably completing a channel name */
|
/* probably completing a channel name */
|
||||||
*list = completion_get_channels(window->active_server, word);
|
*list = completion_get_channels(window->active_server, word);
|
||||||
|
if (*list != NULL) signal_stop();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue