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
-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(
2019-07-27Update macOS neovim to 0.3.8June McEnroe Which somehow still doesn't include my man fix. 2019-07-27Rewrite port makefiles consistentlyJune McEnroe 2019-07-27Rewrite Makefile once more with more organizationJune McEnroe 2019-07-27Reference png.h in bin.7June McEnroe 2019-07-27Revert "Use scheme to style HTMLs"June McEnroe This reverts commit 46237a457ff3c9a813a56f2a442c115bf8610cbc. I don't know why but I don't like it. 2019-07-27Remove scheme text linkJune McEnroe No standard base64 encoder so no way to maintain it. 2019-07-26Update Dark.terminalJune McEnroe Why are the blobs so much bigger now? 2019-07-26Lighten dark whiteJune McEnroe 2019-07-25Add png.3 man pageJune McEnroe 2019-07-25Use scheme to style HTMLsJune McEnroe 2019-07-25Don't match comments in strings in makeJune McEnroe 2019-07-25Generate index.html with links from bin.7June McEnroe 2019-07-24Warn when date has changedJune McEnroe 2019-07-24Add whenJune McEnroe When? Now. 2019-07-24Remove histedit from bitJune McEnroe