Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: adam2 prompt truncating command output
- X-seq: zsh-users 22950
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: xeyrion@xxxxxxxxx, zsh-users@xxxxxxx
- Subject: Re: adam2 prompt truncating command output
- Date: Mon, 30 Oct 2017 09:36:23 +0000
- Cms-type: 201P
- Dkim-filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20171030093623euoutp0210f5a3152ec4f80113125e0d44490a92~yT3PCCN7U1255212552euoutp02M
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1509356183; bh=rk1fw+LSHFcjhlIpLsmNSeMrdS8ystPOyLt8TqZ/X/s=; h=Date:From:To:Subject:In-reply-to:References:From; b=r2FA2Fal7EyUpJh3xkDiawqW5CGmQToke0gtRbQ4ibVr8X0viBcwXPsK39kHdX6lo ZASjPocIU8ldF68uXH10qBzorgHz9LeIZw89vPcnoAukU03fOpeVVjLScNd696+NRz Cm3qxkwB3PmUPNcWPmDA7032dux9WBAsldeSvZ3w=
- In-reply-to: <CAJLGesrLWpf3XD1Nt=K_oFyga0gHrt9hcTR-L=dB7gP=WnX4tQ@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>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Organization: Samsung Cambridge Solution Centre
- References: <CGME20171030062906epcas2p30c9592dea463811869f232aea69d86fe@epcas2p3.samsung.com> <CAJLGesrLWpf3XD1Nt=K_oFyga0gHrt9hcTR-L=dB7gP=WnX4tQ@mail.gmail.com>
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.
I'm not familiar with this prompt, but if it prints anything at the
right hand end of the screen, you're out of luck --- if there's output
without a newline it'll just wrap round and mess up the display. You'll
have to pick which aspect you dislike least.
Otherwise, you might be able to get away without the standard behaviour,
in which case try the option:
setopt nopromptcr
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author