[Pkg-libvirt-commits] [libguestfs] 05/66: fish: Restore text to default when exiting (RHBZ#1144201).

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:47:35 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag debian/1%1.27.54-1
in repository libguestfs.

commit 816d7cf9413ceb70fba48c069e3d2c39c6b67f49
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Fri Sep 19 13:18:45 2014 +0100

    fish: Restore text to default when exiting (RHBZ#1144201).
    
    The escape sequence \e[0;30m sets the colour to black.  This is fine
    if you use a black-on-white terminal, but fails rather badly if you
    use a white-on-black terminal.
    
    Instead use the escape sequence \e[0m which restores the terminal to
    the defaults, and works in both cases.
---
 fish/guestfish.pod | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fish/guestfish.pod b/fish/guestfish.pod
index d04e80a..12bf243 100644
--- a/fish/guestfish.pod
+++ b/fish/guestfish.pod
@@ -1336,7 +1336,7 @@ A bold black version of the ordinary prompt.
 =item *
 
  GUESTFISH_PS1='\[\e[1;32m\]><fs>\[\e[0;31m\] '
- GUESTFISH_OUTPUT='\e[0;30m'
+ GUESTFISH_OUTPUT='\e[0m'
  GUESTFISH_RESTORE="$GUESTFISH_OUTPUT"
  GUESTFISH_INIT='\e[1;34m'
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list