summary refs log tree commit diff
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
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(
84556096d03ea8fcc6bced19&follow=1'>Add A Memory Called EmpireJune McEnroe 2019-09-05Handle lack of Content-TypeJune McEnroe 2019-09-05Use CURLINFO_CONTENT_TYPEJune McEnroe 2019-09-05Decode entities in titlesJune McEnroe 2019-09-05Print title as soon as it's availableJune McEnroe 2019-09-05Use CURL_PREFIX to set flagsJune McEnroe 2019-09-05Add titleJune McEnroe 2019-09-04Add Avorter n'est pas tuerJune McEnroe 2019-08-29Unset executable on shell scriptsJune McEnroe 2019-08-29Add long-missing setopt to bin.7June McEnroe 2019-08-29Add editJune McEnroe