We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d13fce commit f14fb9cCopy full SHA for f14fb9c
nnn.1
@@ -410,6 +410,8 @@ separated by \fI;\fR:
410
.Pp
411
\fBnnn:\fR this is a special variable set to the hovered entry before executing
412
a command from the command prompt or spawning a shell.
413
+.Pp
414
+\fBNO_COLOR:\fR if defined, disable ANSI color output.
415
.Sh KNOWN ISSUES
416
.Nm
417
may not handle keypresses correctly when used with tmux (see issue #104 for
src/nnn.c
@@ -1524,7 +1524,7 @@ static bool initcurses(void *oldmask)
1524
#endif
1525
curs_set(FALSE); /* Hide cursor */
1526
1527
- if (!(g_states & STATE_NOCOLOR)) {
+ if (!(g_states & STATE_NOCOLOR || getenv("NO_COLOR"))) {
1528
start_color();
1529
use_default_colors();
1530
0 commit comments