From 035b053b529ef965f1083400d2d29d4040303813 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 19 Sep 2014 13:23:42 +0100 Subject: [PATCH] Fix guestfish colour prompts when using white-on-black terminal (RHBZ#1144201). --- guestfish.sh | 2 +- libguestfs.spec | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/guestfish.sh b/guestfish.sh index 1aae605..cfd0492 100644 --- a/guestfish.sh +++ b/guestfish.sh @@ -1,6 +1,6 @@ # Guestfish colour prompts. See PROMPT in guestfish(1). GUESTFISH_PS1='\[\e[1;32m\]>\[\e[0;31m\] ' -GUESTFISH_OUTPUT='\e[0;30m' +GUESTFISH_OUTPUT='\e[0m' GUESTFISH_RESTORE="$GUESTFISH_OUTPUT" GUESTFISH_INIT='\e[1;34m' export GUESTFISH_PS1 GUESTFISH_OUTPUT GUESTFISH_RESTORE GUESTFISH_INIT diff --git a/libguestfs.spec b/libguestfs.spec index db95ff4..6bd785a 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -1236,6 +1236,7 @@ popd %changelog * Thu Sep 18 2014 Richard W.M. Jones - 1:1.27.49-1 - New upstream version 1.27.49. +- Fix guestfish colour prompts when using white-on-black terminal (RHBZ#1144201). * Wed Sep 17 2014 Richard W.M. Jones - 1:1.27.48-1 - New upstream version 1.27.48.