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

Re: Bug or Feature? Clear line before prompt.



On Fri, 2005-10-14 at 08:16 +0200, Com MN PG P E B Consultant 3 wrote:
> Before zsh issues the PS1 prompt, it clears the line. This has the
> effect that
> I don't see the last line of the previous command, unless it is
> terminated
> by a newline. Example:
> 
>    perl -e 'print "hello"'

% echo -n foo
% unsetopt prompt_cr 
% echo -n foo
foo%

Note that turning this option off can do some bad things to the command
line editor and many of the fancier prompts.

--
Steve




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