Thumbnail

rani/cscroll.git

Clone URL: https://git.buni.party/rani/cscroll.git

commit afc630d6cfe86c5860bb85ce091a221d5ab4b494 Author: Raniconduh <clagv.randomgames@gmail.com> Date: Tue Feb 07 07:38:41 2023 +0000 Allow disabling colors in oneshot mode diff --git a/src/io.c b/src/io.c index fc6e808..095ad87 100644 --- a/src/io.c +++ b/src/io.c @@ -6786 +6787 @@ void print_file_name(struct dir_entry_t * de, bool highlight) {   char * fcolor = NULL;     if (cp != COLOR_WHITE) fcolor = ansi_colors[cp]; + if (!color) fcolor = "";     if (fcolor) i_puts(fcolor);   i_puts(de->name);