about summary refs log tree commit diff
path: root/handle.c
diff options
context:
space:
mode:
authorKylie McClain <kylie@somas.is>2021-11-26 00:09:31 -0500
committerKylie McClain <kylie@somas.is>2021-12-21 15:11:57 -0500
commit38a3b11ad54a95a4a3899433d93f2c2c3bc5ad24 (patch)
tree506b3288a26cb2cd7a080eb9b56c3eaaa54c86a4 /handle.c
parenthandle.c: o pona e toki pi pali toki /setname (diff)
downloadcatgirl-38a3b11ad54a95a4a3899433d93f2c2c3bc5ad24.tar.gz
catgirl-38a3b11ad54a95a4a3899433d93f2c2c3bc5ad24.zip
o pana e nimi 'jan' tawa toki pali
toki ni li jo ala e nimi 'jan', la ona li pakala e nasin toki pi toki
pona. ike la, toki sin ni li sama ala lukin toki pi wile toki.
sina wile pona e ni la, sina ante mute e kon inputUpdate...

[if these words [action messages] do not have the word jan, they break
toki pona's system of speaking [grammar]. unfortunately, this new
message does not have the same look as the message in the prompt.
if you want to improve this, you have to greatly change the inputUpdate
code...]
Diffstat (limited to 'handle.c')
-rw-r--r--handle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/handle.c b/handle.c
index b5cba26..0694764 100644
--- a/handle.c
+++ b/handle.c
@@ -1274,7 +1274,8 @@ static void handlePrivmsg(struct Message *msg) {
 		colorMentions(buf, sizeof(buf), id, msg);
 		uiFormat(
 			id, heat, tagTime(msg),
-			"%s\35\3%d* jan %s\17\35\t%s%s",
+			"%s\35\3%d*\17\35 jan %s\3%d%s\17\35\t%s%s",
+			(highlight ? "\26" : ""), hash(msg->user),
 			(highlight ? "\26" : ""), hash(msg->user), msg->nick,
 			buf, msg->params[1]
 		);