From ded1053f8b525e78d1121fd7f0a764ec5cc8cc05 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 17 Mar 2026 05:52:37 -0400 Subject: Tab complete PM nics (private screen only). Also, no need to prefix messages with /m in server or private screens. --- src/irc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/irc.c') diff --git a/src/irc.c b/src/irc.c index d34fe8d..7611cef 100644 --- a/src/irc.c +++ b/src/irc.c @@ -14,6 +14,7 @@ #include "nio.h" #include "config.h" #include "indic8.h" +#include "complete.h" #ifndef VERSION #define VERSION "?????" @@ -504,6 +505,7 @@ void select_screen(void) { if(!s) { if(streq_i(msg_cmd, "PRIVMSG")) { /* or maybe NOTICE? */ strncpy(last_pm_nick, msg_src, 32); + comp_add_pm_nick(last_pm_nick); s = SCR_PRIV; } else { s = SCR_SERVER; -- cgit v1.2.3