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(
c/commit/www/text.causal.agency/feed.sh?id=178d7d9d455e9f6a89a94f19a384993a5769584b&follow=1'>Move to www/text.causal.agencyJune McEnroe 2019-07-12Add new causal.agency with shotty shotsJune McEnroe 2019-07-12Use -s to infer terminal sizeJune McEnroe 2019-07-12Add DCH to shottyJune McEnroe This makes htop mostly work. Scrolling region still missing. 2019-07-12Support insert mode in shottyJune McEnroe This is how curses puts characters into the bottom-right cell of the terminal. 2019-07-11Don't do carriage return on line feedJune McEnroe 2019-07-11Interpret 256color-style SGRsJune McEnroe 2019-07-11Use inline style rather than <b>, <i>, <u>June McEnroe 2019-07-11Factor out clearJune McEnroe 2019-07-11Add bright option to shottyJune McEnroe 2019-07-11Output <b>, <i>, <u> in shottyJune McEnroe 2019-07-10Ignore SM and RMJune McEnroe 2019-07-09Add shotty man page and build itJune McEnroe 2019-07-09Add up -cJune McEnroe 2019-07-09Add options for default colors to shottyJune McEnroe 2019-07-08Use char literals consistentlyJune McEnroe