* BUG: zsh overwrites last line of output
@ 2000-10-22 14:51 Peter Makholm
2000-10-22 18:10 ` Dan Nelson
0 siblings, 1 reply; 2+ messages in thread
From: Peter Makholm @ 2000-10-22 14:51 UTC (permalink / raw)
To: zsh-workers
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.
--
Sid regler!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: BUG: zsh overwrites last line of output
2000-10-22 14:51 BUG: zsh overwrites last line of output Peter Makholm
@ 2000-10-22 18:10 ` Dan Nelson
0 siblings, 0 replies; 2+ messages in thread
From: Dan Nelson @ 2000-10-22 18:10 UTC (permalink / raw)
To: Peter Makholm; +Cc: zsh-workers
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@emsphone.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-10-22 18:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-22 14:51 BUG: zsh overwrites last line of output Peter Makholm
2000-10-22 18:10 ` Dan Nelson
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).