Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: adam2 prompt truncating command output
- X-seq: zsh-users 22951
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: adam2 prompt truncating command output
- Date: Mon, 30 Oct 2017 09:41:03 -0700
- Cc: xeyrion@xxxxxxxxx, Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=UKEbQlCHqDfgvo7djZzmU5BU2NXSSxbKKz5LQURqSm0=; b=xrZFVyLCCNglyPpsOJHhVx3rDp0RC06CAfuFVS9eAdUHAYumTKzwHEk6tmRjOVU6hb Enf/YPbYI9rJuZ6sMEkMatB/j8w4gTJMl+369nO4M3maUQbCJjiTTvFiFUMVpe6OxhmA sG9OvgnHCkdcL6lo9CdRa30i9IXU4xB5NGPGatNG8hqJ9VYNlYq0LFuF8JDdJUWWYXpF P4sgJ2SGN4mmoteMZSU3fU97B0wYfylpk0/XfPTrz6qZTB/BSOCs2QSUN34JWrVbdPh1 vNoMK0Hq/1C0JzEchdGhJEV4/sfq8pe3Obc50IYrzIBWjc99KgPvPR/i9nrjttGBDD+m iWNA==
- In-reply-to: <20171030093623.06eba19b@pwslap01u.europe.root.pri>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CGME20171030062906epcas2p30c9592dea463811869f232aea69d86fe@epcas2p3.samsung.com> <CAJLGesrLWpf3XD1Nt=K_oFyga0gHrt9hcTR-L=dB7gP=WnX4tQ@mail.gmail.com> <20171030093623.06eba19b@pwslap01u.europe.root.pri>
On Mon, Oct 30, 2017 at 2:36 AM, Peter Stephenson
<p.stephenson@xxxxxxxxxxx> wrote:
> On Mon, 30 Oct 2017 06:27:13 +0000
> xeyrion@xxxxxxxxx wrote:
>> It looks like using adam2 prompt truncates command output if the output
>> does not end with a newline:
>
> That's standard zsh behaviour: it's that way because the line editor
> works best when it knows what position it's at in a line, so it ensures
> the prompt starts at the left.
The adam2 theme (and possibly some others) should probably be doing
"setopt prompt_sp".
Messages sorted by:
Reverse Date,
Date,
Thread,
Author