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: Eduardo Bustamante
Subject: Re: Buffer corruption when the terminal is resized.
Date: Sat, 10 Jun 2017 16:20:56 -0500
User-agent: NeoMutt/20170113 (1.7.2)

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="\u@\h\$"
> 
> 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:


  dualbus@debian:~/src/gnu/bash$ bash --version | head -n1
  GNU bash, version 4.4.12(1)-release (x86_64-pc-linux-gnu)
  
  dualbus@debian:~/src/gnu/bash$ xterm -version
  XTerm(327)
  
  dualbus@debian:~/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]