summary refs log tree commit diff
path: root/scoop.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-12-31 15:52:44 -0500
committerJune McEnroe <june@causal.agency>2019-12-31 15:52:44 -0500
commitde32538d66790ee167030675692c2de62f23f8c8 (patch)
treee50137a7b299191fdec6999c492ee0492f5aabe7 /scoop.c
parentImplement nick-colored output (diff)
downloadlitterbox-de32538d66790ee167030675692c2de62f23f8c8.tar.gz
litterbox-de32538d66790ee167030675692c2de62f23f8c8.zip
Color both nicks in a change
Diffstat (limited to '')
-rw-r--r--scoop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scoop.c b/scoop.c
index 298da05..ad8be5f 100644
--- a/scoop.c
+++ b/scoop.c
@@ -134,8 +134,8 @@ static void formatColor(
 			);
 		break; case Nick:
 			printf(
-				"\33[%dm%s\33[m changed nick to %s\n",
-				color(user), nick, target
+				"\33[%dm%s\33[m changed nick to \33[%dm%s\33[m\n",
+				color(user), nick, color(user), target
 			);
 		break; case Topic:
 			printf(