bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Buffer corruption when the terminal is resized.


From: Paul Peet
Subject: Re: Buffer corruption when the terminal is resized.
Date: Sun, 11 Jun 2017 00:29:33 +0200

Okay, I did the follwing:

> git clone https://git.savannah.gnu.org/git/bash.git
> cd bash && git checkout devel
> ./configure --prefix=/ --with-curses --enable-readline
> make

I then changed the default shell (in gnome-terminal) to the newly built bash.

> echo $BASH_VERSION
4.4.12(1)-maint

Unfortunately, I am still getting the same behavior as before (This
also happens with xterm for some reason.)

On Sat, Jun 10, 2017 at 11:20 PM, Eduardo Bustamante <address@hidden> wrote:
> On Sat, Jun 10, 2017 at 07:21:36PM +0200, Paul Peet wrote:
>> If I understand this correctly this prompt (see below) shouldn't
>> contain any invisible sequence, therefore it doesn't require the
>> wrapping with \[ and \].
>>
>> PS1="address@hidden"
>>
>> So bash should be able to correctly calculate the prompt size and
>> such, but by resizing the window it still results in a corrupted
>> buffer.
>>
>> I've uploaded another gif which shows this:
>> https://media.giphy.com/media/xUA7biW8UtwYIU6ggg/giphy.gif
>
> I can't reproduce this with:
>
>
>   address@hidden:~/src/gnu/bash$ bash --version | head -n1
>   GNU bash, version 4.4.12(1)-release (x86_64-pc-linux-gnu)
>
>   address@hidden:~/src/gnu/bash$ xterm -version
>   XTerm(327)
>
>   address@hidden:~/src/gnu/bash$ lsb_release -d
>   Description:    Debian GNU/Linux 9.0 (stretch)
>
>
> Can you reproduce the problem using a more recent version. Perphaps try
> the `devel' branch from git?  <https://savannah.gnu.org/git/?group=bash>
>
> --
> Eduardo Bustamante
> https://dualbus.me/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]