Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: adam2 prompt truncating command output



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