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

Re: Misaligned cursor when prompt linebroken



On 4/18/19, dana <dana@xxxxxxx> wrote:
> On 18 Apr 2019, at 10:39, Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>>PS1=${(l:$COLUMNS::a:)}b
>>the cursor is placed on top of the "b" for me, both in urxvt and
>>xterm. Under zsh -f the initial rendering appears correct, but not
>>after I type two characters
>
> Same for me in Terminal.app. The return of workers/43267 (&al.), i suppose?

Just a small additional note that it doesn't matter that it's only one
character extra in my example, the same thing happens if you put
bbbbbbbb instead of just b.

-- 
Mikael Magnusson



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