Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Long Prompt Lines Cause Terminal History Loss on Window Resize
- X-seq: zsh-users 22070
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Long Prompt Lines Cause Terminal History Loss on Window Resize
- Date: Tue, 1 Nov 2016 20:44:34 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=O0m+qqVze7WToPpG1GDbBWIK15zxix/GO4MbVHZu1wY=; b=daIyEbj/DIjSgGEzmiGlEpJMweXTJZJzXJPYVAGk2uRGSLK4QgtEcNTqGTL8WbjzQR 619l+gDuUAj/lZBuzqnMv0JYT9tiTiuXRX73RcplDz3ZJGv1GqjEDomX73IFxa27YWUr 2mYHnMOFKY7Jh94ZUEpnDcM33g7I4N63AV2vivyLgNdFCZTp9mjmfkiCf+mBiATxGN6T NyPyArnMB1ZkxAKzpuWBVCSXmjNeYuqfKMERgUqrzYpOBLqfCTs15jsSKdy7MmEBDYqi 2OtDV4W8vY268cyJHQkvBUrcNLVq+nJFbETRSdOpx6KK7RbDMUZsYjS56PbwfFyioEgJ B0Sg==
- In-reply-to: <CA+AzK=g8exUieObrD2_4n_tX1t_LP6DsYg=hC7W3M0BHKntGWQ@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CA+AzK=g8exUieObrD2_4n_tX1t_LP6DsYg=hC7W3M0BHKntGWQ@mail.gmail.com>
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 ...
Messages sorted by:
Reverse Date,
Date,
Thread,
Author