mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05:00
In msgs window, you can now complete anywhere /MSG completion nicks (eg.
/ignore nick<tab>) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2430 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
27665c5cfb
commit
dddd9d17a6
@ -22,6 +22,7 @@
|
|||||||
#include "signals.h"
|
#include "signals.h"
|
||||||
#include "commands.h"
|
#include "commands.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
#include "levels.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
|
|
||||||
#include "chatnets.h"
|
#include "chatnets.h"
|
||||||
@ -603,6 +604,9 @@ static void sig_complete_word(GList **list, WINDOW_REC *window,
|
|||||||
/* nick completion .. we could also be completing a nick
|
/* nick completion .. we could also be completing a nick
|
||||||
after /MSG from nicks in channel */
|
after /MSG from nicks in channel */
|
||||||
complete_window_nicks(list, window, word, linestart);
|
complete_window_nicks(list, window, word, linestart);
|
||||||
|
} else if (window->level & MSGLEVEL_MSGS) {
|
||||||
|
/* msgs window, complete /MSG nicks */
|
||||||
|
*list = completion_msg(server, NULL, word, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (*list != NULL) signal_stop();
|
if (*list != NULL) signal_stop();
|
||||||
|
Loading…
Reference in New Issue
Block a user