diff --git a/debian/changelog b/debian/changelog index eda83fd0..133de16d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,6 +11,12 @@ byobu (5.128) unreleased; urgency=medium - use env python3 for portability to other Linux and Mac systems (hopefully that's still okay for Debian / Ubuntu?) - https://github.com/dustinkirkland/byobu/pull/29 + * usr/share/byobu/profiles/bashrc: + - Unescaping colors in bash prompt causes problems with scrolling + history in bash prompt. you can see leftovers from previous + commands when going back by history. + All colors in command prompt should be escaped with [ ] + - https://github.com/dustinkirkland/byobu/pull/30 -- Dustin Kirkland Sun, 12 Aug 2018 11:37:11 -0500 diff --git a/usr/share/byobu/profiles/bashrc b/usr/share/byobu/profiles/bashrc index 6e3ebbfc..17cb34ed 100644 --- a/usr/share/byobu/profiles/bashrc +++ b/usr/share/byobu/profiles/bashrc @@ -54,7 +54,7 @@ if [ -n "$TMUX" ] || [ "${TERMCAP#*screen}" != "${TERMCAP}" ]; then ;; *) # Use Googley colors (blue / red / yellow / blue / green / red ) - PS1="${debian_chroot:+($debian_chroot)}\[\e[31m\]\$(byobu_prompt_status)\[\e[38;5;69m\]\u\[\e[38;5;214m\]@\[\e[38;5;167m\]\h\[\e[38;5;214m\]:\[\e[38;5;71m\]\w\[\e[38;5;214m\]\$(byobu_prompt_symbol)\e[00m\] " + PS1="${debian_chroot:+($debian_chroot)}\[\e[31m\]\$(byobu_prompt_status)\[\e[38;5;69m\]\u\[\e[38;5;214m\]@\[\e[38;5;167m\]\h\[\e[38;5;214m\]:\[\e[38;5;71m\]\w\[\e[38;5;214m\]\$(byobu_prompt_symbol)\[\e[00m\] " ;; esac fi