Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: BUG: zsh overwrites last line of output
- X-seq: zsh-workers 13059
- From: Dan Nelson <dnelson@xxxxxxxxxxxx>
- To: Peter Makholm <peter@xxxxxxxxxxx>
- Subject: Re: BUG: zsh overwrites last line of output
- Date: Sun, 22 Oct 2000 13:10:51 -0500
- Cc: zsh-workers@xxxxxxxxxxxxxx
- In-reply-to: <xnoy9zhszdt.fsf@xxxxxxxxxxxxxxx>; from "Peter Makholm" on Sun Oct 22 16:51:10 GMT 2000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <xnoy9zhszdt.fsf@xxxxxxxxxxxxxxx>
In the last episode (Oct 22), Peter Makholm said:
> Try look at the following:
>
> galar% echo $ZSH_VERSION
> 3.1.9
> galar% echo -n foo
> galar% echo -n "foo\nbar"
> foo
> galar%
>
> Somehow zsh overwrites the last line of output if it doesn't end with
> an new-line. On a (very) slow terminal I've been able to see that the
> "bar" in the last example actually gets written.
Correct; this is so zle knows exactly where the cursor is. If you
don't want this behaviour, add "setopt nopromptcr" to one of your
startup scrpits.
--
Dan Nelson
dnelson@xxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author