zsh-users
 help / color / mirror / code / Atom feed
From: "Aaron U'Ren" <aauren@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-users@zsh.org
Subject: Re: Long Prompt Lines Cause Terminal History Loss on Window Resize
Date: Tue, 1 Nov 2016 22:53:14 -0500	[thread overview]
Message-ID: <CA+AzK=g7c=mJ8mrXf0YMkCKQdapVoEazkAun2Aw=LjbZz-dzXw@mail.gmail.com> (raw)
In-Reply-To: <161101204434.ZM26466@torch.brasslantern.com>

[-- Attachment #1: Type: text/plain, Size: 1390 bytes --]

Interesting. So is there no way to mitigate this issue in zsh? Because bash
doesn't produce the same results in either tmux or xfce terminal.

Also, if this is purely a terminal implementation problem, can you give me
any direction about where the problem lies so that I can file a more
accurate bug report with the project? And what terminals do you recommend
that exhibit correct behavior on resize? Is tmux affected because it is
also flawed or because the terminal that contains it is flawed?

On Nov 1, 2016 10:44 PM, "Bart Schaefer" <schaefer@brasslantern.com> wrote:

> On Oct 31,  1:45pm, Aaron U'Ren wrote:
> }
> } Does anyone know why long prompt lines and window resizing causes lines
> of
> } terminal history to be removed?
>
> This is terminal-specific behavior; older xterm reformats the scrollback
> itself to fit into the narrow window and then never widens it again.  In
> Gnome terminal the last line of the previous prompt gets overwritten but
> the scrollback above the first line of the first long prompt is left alone
> (although it extends the window with blank lines below the prompt as the
> window is enlarged again, so you have to scroll up to see the previous
> screen; but it's not lost.)
>
> Questions about why terminals act oddly/differently when text is printed
> to the lower right corner have just about risen to the level of needing a
> FAQ entry ...
>

  reply	other threads:[~2016-11-02  4:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-31 18:45 Aaron U'Ren
2016-11-02  3:44 ` Bart Schaefer
2016-11-02  3:53   ` Aaron U'Ren [this message]
2016-11-03  3:30     ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+AzK=g7c=mJ8mrXf0YMkCKQdapVoEazkAun2Aw=LjbZz-dzXw@mail.gmail.com' \
    --to=aauren@gmail.com \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).