diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-17 05:52:37 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-17 05:52:37 -0400 |
| commit | ded1053f8b525e78d1121fd7f0a764ec5cc8cc05 (patch) | |
| tree | e3872cde44718589276550ede7d9aae4ebd75c07 /src/irc.c | |
| parent | e3b45c4788189bd04ed4cf9806191363715419ce (diff) | |
| download | fujinet-chat-ded1053f8b525e78d1121fd7f0a764ec5cc8cc05.tar.gz | |
Tab complete PM nics (private screen only). Also, no need to prefix messages with /m in server or private screens.
Diffstat (limited to 'src/irc.c')
| -rw-r--r-- | src/irc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |
