GNU bug report logs - #30544
26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)

Previous Next

Package: emacs;

Reported by: Aaron Jensen <aaronjensen <at> gmail.com>

Date: Tue, 20 Feb 2018 02:09:01 UTC

Severity: minor

Tags: confirmed, fixed

Found in versions 26.0.91, 25.1

Fixed in version 26.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> gmail.com>
To: Aaron Jensen <aaronjensen <at> gmail.com>
Cc: 30544 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)
Date: Wed, 14 Mar 2018 19:49:26 -0400
Aaron Jensen <aaronjensen <at> gmail.com> writes:

> I guess my wondering is what is different about term.el vs iTerm.
> iTerm has similar artifacts in zsh if the width is adjusted, but not
> when the height is adjusted.
>
> AFAICT the only things they do different are they rate limit the
> setting and they prevent setting it if the size is already as it
> should be.
>
> https://github.com/gnachman/iTerm2/blob/f8a5930b5c47fa6420f423fcb33320029abdcd5b/sources/PTYTask.m#L873

Odd.  I have urxvt here, and it seems to be able to resize both width
and height without getting any duplicated prompts.  Could it be that zsh
always repaints the prompt on a resize, but term.el (and iTerm for width
adjustments) don't put point where zsh is expecting after a resize?





This bug report was last modified 7 years and 48 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.