filter/indent: fix lost of last color after new-line - lchat - A line oriented chat front end for ii.
 (HTM) git clone git://git.suckless.org/lchat
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit 58143731f1a6db77f271eed1cd4ada82538ad17b
 (DIR) parent 6266cdad49c73aa908f2b684b65ba691dc9b45b9
 (HTM) Author: Jan Klemkow <j.klemkow@wemelug.de>
       Date:   Thu, 20 Nov 2025 22:55:13 +0100
       
       filter/indent: fix lost of last color after new-line
       
       I dont know why its happend, but this is a working fix.
       
       Diffstat:
         M filter/indent.c                     |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/filter/indent.c b/filter/indent.c
       @@ -70,7 +70,7 @@ main(void)
                        while ((word = strsep(&next, " ")) != NULL) {
                                tw -= strlen(word) + 1;
                                if (tw < 0 && !first)
       -                                fputs("\n                  ", stdout);
       +                                printf("\n\033[%dm                  ", color);
                                if (tw < 0)
                                        tw = cols - pw - strlen(word);