summaryrefslogtreecommitdiffstats
path: root/disk-utils/fdisk-menu.c
diff options
context:
space:
mode:
authorKarel Zak2014-05-12 10:22:09 +0200
committerKarel Zak2014-05-13 12:13:02 +0200
commit496c979a09899fac38b82e4b8d10bc4700407157 (patch)
tree31d286a746acf09b9463373efc28e058690244bf /disk-utils/fdisk-menu.c
parenthexdump: add --color to the man page (diff)
downloadkernel-qcow2-util-linux-496c979a09899fac38b82e4b8d10bc4700407157.tar.gz
kernel-qcow2-util-linux-496c979a09899fac38b82e4b8d10bc4700407157.tar.xz
kernel-qcow2-util-linux-496c979a09899fac38b82e4b8d10bc4700407157.zip
fdisk: support colors customization
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/fdisk-menu.c')
-rw-r--r--disk-utils/fdisk-menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/fdisk-menu.c b/disk-utils/fdisk-menu.c
index 4e44f0b85..c688fdfef 100644
--- a/disk-utils/fdisk-menu.c
+++ b/disk-utils/fdisk-menu.c
@@ -359,7 +359,7 @@ static int print_fdisk_menu(struct fdisk_context *cxt)
if (IS_MENU_SEP(e) && (!e->title || !*e->title))
printf("\n");
else if (IS_MENU_SEP(e)) {
- color_enable(UL_COLOR_BOLD);
+ color_scheme_enable("help-title", UL_COLOR_BOLD);
printf("\n %s\n", _(e->title));
color_disable();
} else