cfdisk: fix colors initialization

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2014-03-11 11:49:52 +01:00
parent 4ffbedba0e
commit 210bb49268
2 changed files with 12 additions and 1 deletions

View File

@ -128,6 +128,17 @@ When in a sub-menu or at a prompt to enter a filename, you can hit the
.I ESC
key to return to the main command line.
.SH COLORS
Implicit coloring can be disabled as follows:
.RS
.br
.BI "touch /etc/terminal-colors.d/cfdisk.disable"
.br
.RE
For more details see
.BR terminal-colors.d (5).
.SH "SEE ALSO"
.BR fdisk (8),
.BR sfdisk (8),

View File

@ -1823,7 +1823,7 @@ int main(int argc, char *argv[])
colors_init(colormode);
colors_init(colormode, "cfdisk");
fdisk_init_debug(0);
cf->cxt = fdisk_new_context();