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

Re: PS1 covers output of previous program



In the last episode (Feb 02), Michal Kuratczyk said:
> Is this bug or feature that PS1 covers the text before?
> 
> ~ % echo -n "foo"
> ~ %
> 
> In bash, tcsh and pdksh the second line would look like this:
> foo~ %

Feature.  It's required so that zsh's enhanced commandline editor works
right.  Without it, zsh doesn't know what column the cursor is on, and
can't set RPROMPT right.  To disable, "setopt nopromptcr".

-- 
	Dan Nelson
	dnelson@xxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author