From: mabdulla
To: bug-bash@gnu.org
Subject: bash long prompt, color going past the end of prompt after
reaching bottom of terminal
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE=
How to reproduce bug:
calculate_prompt1(){
host="my-linux"
git_branch="a very very very very very very very very very very
very very very very long prompt"
prompt="@$host \\w : \[$(tput bold)$(tput setab 1)$(tput setaf
7)\]${git_branch}\[$(tput sgr0)\]\$ "
export PS1="$prompt"}
PR
Virta wrote:
> On 22.3. 22:22, Chet Ramey wrote:
>
>> On 3/22/18 1:44 PM, Musse Abdullahi wrote:
>>
>> Bash Version: 4.2
>>> Patch Level: 46
>>> Release Status: release
>>>
>>> Description:
>>> look at Repeat-By section
&