lchat

A line oriented chat front end for ii.
git clone git://git.suckless.org/lchat
Log | Files | Refs | README

commit 6266cdad49c73aa908f2b684b65ba691dc9b45b9
parent 5f6288eb38a9f52480c124381ace6e2125f21027
Author: Jan Klemkow <j.klemkow@wemelug.de>
Date:   Thu, 20 Nov 2025 22:52:34 +0100

filter/indent: use white and bright white for messages

Diffstat:
Mfilter/indent.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/filter/indent.c b/filter/indent.c @@ -7,9 +7,9 @@ #include "../util.h" -#define color1 34 -#define color2 33 -#define color3 35 +#define color1 37 /* message 1 */ +#define color2 97 /* message 2 */ +#define color3 31 /* bell match */ #define color4 2 /* meta data */ int @@ -57,7 +57,7 @@ main(void) /* print prompt */ /* HH:MM nnnnnnnnnnnn ttttttttttttt */ // e[7;30;40m - printf("\033[1;%dm\033[K%s %*s", color, timestr, 12, + printf("\033[%dm\033[K%s %*s", color, timestr, 12, strcmp(nick, old_nick) == 0 ? "" : nick); strlcpy(old_nick, nick, sizeof old_nick);