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

Re: Zsh clears prompt line. Feature or bug?



On Apr 8,  5:29pm, DervishD wrote:
} Subject: Re: Zsh clears prompt line. Feature or bug?
}
}  * Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> dixit:
} > The next complaint, of course, is going to be that zsh clobbers the word
} > "RIGHT" in the following:
} > 
} > zsh% echo -n "${(l.COLUMNS-6.. .)}RIGHT\015LEFT"
} 
}     I wouldn't complain because my 'echo' needs -e to clobber 'RIGHT'.
} OTHO, 'print' clobbers it (correctly) ;))

What I meant was that even if echo or print does not clobber RIGHT, the
printing of the prompt will do so because the output ends in the middle
of the line after LEFT.



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