Underline own nick
parent
a7681579fa
commit
a2a6ce99c0
5
handle.c
5
handle.c
|
@ -456,8 +456,9 @@ static void handlePrivmsg(char *prefix, char *params) {
|
||||||
bool ping = !me && isPing(mesg);
|
bool ping = !me && isPing(mesg);
|
||||||
uiFmt(
|
uiFmt(
|
||||||
tag, (hot ? UIHot : UIWarm),
|
tag, (hot ? UIHot : UIWarm),
|
||||||
"%c\3%d%c%s%c\17 %s",
|
"%c%c\3%d<%s>%c %s",
|
||||||
ping["\17\26"], formatColor(user), me["<("], nick, me[">)"], mesg
|
(me ? IRCUnderline : IRCColor), (ping ? IRCReverse : IRCColor),
|
||||||
|
formatColor(user), nick, IRCReset, mesg
|
||||||
);
|
);
|
||||||
logFmt(tag, NULL, "<%s> %s", nick, mesg);
|
logFmt(tag, NULL, "<%s> %s", nick, mesg);
|
||||||
}
|
}
|
||||||
|
|
2
ui.c
2
ui.c
|
@ -537,7 +537,7 @@ void uiPrompt(void) {
|
||||||
);
|
);
|
||||||
} else if (!isCommand(ui.view->tag, input)) {
|
} else if (!isCommand(ui.view->tag, input)) {
|
||||||
len = aswprintf(
|
len = aswprintf(
|
||||||
&prompt, L"\3%d(%s)\3 ",
|
&prompt, L"\3%d<%s>\3 ",
|
||||||
formatColor(self.user), self.nick
|
formatColor(self.user), self.nick
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue