[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: |
Mon, 12 Jun 2017 19:38:18 +0200 |
Uhmm, I am not sure how to interpret these results (All shells or
terminals have been tested with Ubuntu 17.04):
gnome-terminal + bash: Happens
gnome-terminal + zsh: This bug also happens here, lines are getting
removed/repeated...
gnome-terminal + dash: Does not happen. (I changed the
PS1="username@hostname $" to make it longer)
gnome-terminal + mksh: The bug also occured here. Same as bash and zsh.
konsole + bash: Doesn't happen here. I guess this is because konsole
doesn't do text wrapping (The prompt wraps though but not the output
alone.)
On Mon, Jun 12, 2017 at 6:35 AM, Eduardo Bustamante <dualbus@gmail.com> wrote:
> On Sun, Jun 11, 2017 at 12:29:33AM +0200, Paul Peet wrote:
> [...]
>> Unfortunately, I am still getting the same behavior as before (This
>> also happens with xterm for some reason.)
>
> Please do consider that Readline has little knowledge about what has
> been written to the terminal. That's the terminal's reponsability.
>
> What Readline does is to write your prompt, and place the cursor right
> beside the prompt. In both of your animations, the prompt seems to be
> rendered fine, I can't really tell because the animation is a bit fast.
>
> Does the same problem happen if you use a different shell? (zsh, mksh,
> dash, ksh93).
>
> --
> Eduardo Bustamante
> https://dualbus.me/
- Buffer corruption when the terminal is resized., Paul Peet, 2017/06/10
- Re: Buffer corruption when the terminal is resized., Eduardo Bustamante, 2017/06/10
- Re: Buffer corruption when the terminal is resized., George, 2017/06/10
- Re: Buffer corruption when the terminal is resized., Paul Peet, 2017/06/10
- Re: Buffer corruption when the terminal is resized., Eduardo Bustamante, 2017/06/10
- Re: Buffer corruption when the terminal is resized., Paul Peet, 2017/06/10
- Re: Buffer corruption when the terminal is resized., Eduardo Bustamante, 2017/06/10
- Re: Buffer corruption when the terminal is resized., Paul Peet, 2017/06/10
- Re: Buffer corruption when the terminal is resized., Eduardo Bustamante, 2017/06/12
- Re: Buffer corruption when the terminal is resized.,
Paul Peet <=
- Re: Buffer corruption when the terminal is resized., Chet Ramey, 2017/06/12
- Re: Buffer corruption when the terminal is resized., Paul Peet, 2017/06/12
- Re: Buffer corruption when the terminal is resized., Chet Ramey, 2017/06/12
- Re: Buffer corruption when the terminal is resized., Paul Peet, 2017/06/12
- Re: Buffer corruption when the terminal is resized., Chet Ramey, 2017/06/12
- Re: Buffer corruption when the terminal is resized., Paul Peet, 2017/06/12
- Re: Buffer corruption when the terminal is resized., Chet Ramey, 2017/06/12
- Re: Buffer corruption when the terminal is resized., Chet Ramey, 2017/06/12
- Re: Buffer corruption when the terminal is resized., Paul Peet, 2017/06/12
- Re: Buffer corruption when the terminal is resized., Chet Ramey, 2017/06/17