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

Re: Zsh clears prompt line. Feature or bug?



On Apr 8, 10:09am, Bart Schaefer wrote:
}
}   print -P "${(l.COLUMNS.. .)}${(pl.COLUMNS..\b.)}%E"

Oops, that was my own cut-n-paste-o.  I meant:

  print -nP "${(l.COLUMNS.. .)}\e[s${(pl.COLUMNS..\b.)}%E\e[u"

(where \e[s and \e[u are the ANSI equivalent of \e7 and \e8 for VT100).



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