Set default --color to "off"

This commit is contained in:
Yorhel 2024-04-20 15:45:37 +02:00
parent 29bbab64b3
commit e1818430b7
2 changed files with 2 additions and 6 deletions

7
ncdu.1
View file

@ -1,6 +1,6 @@
.\" SPDX-FileCopyrightText: Yoran Heling <projects@yorhel.nl>
.\" SPDX-License-Identifier: MIT
.Dd January 21, 2024
.Dd April 20, 2024
.Dt NCDU 1
.Os
.Sh NAME
@ -295,10 +295,7 @@ for a variation of the
color scheme that also works in terminals with a light background.
.Pp
The default is
.Ar dark\-bg
unless the
.Ev NO_COLOR
environment variable is set.
.Ar off .
.El
.Sh CONFIGURATION
.Nm

View file

@ -433,7 +433,6 @@ pub fn main() void {
config.thousands_sep = span;
}
}
if (std.posix.getenvZ("NO_COLOR") == null) config.ui_color = .darkbg;
const loadConf = blk: {
var args = std.process.ArgIteratorPosix.init();