Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Misaligned cursor when prompt linebroken
- X-seq: zsh-workers 44229
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Misaligned cursor when prompt linebroken
- Date: Thu, 18 Apr 2019 17:39:23 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=WTKYNMh0MmSZ5phbSbule/YSpKdRSA1W2eb5NzCRA1o=; b=muOdV3MsaC09ycFDSHDm/193+2+DzPo93vIWmOWkB+YqLdZaTPI3qZ1F0crYdJ07xL 8p7hHiPEZDYXPinUr6a1Apwd66z7xAxVgXs4HOuSpDw4QQwL/U1hCNUkXDwnErjJ956e LFIhj4UErlb/mCjuJsKqnOY+q65WYLUoU0m5kjnQ5/OLA735LUvbxB5yF/rDhZs8kj48 MMVyMh8TRc7Ubp+L1nzxnqT0Q1EdWMTsaMg7YzK8xQ8cAdH+NjomaU450WZe80cMtzRk KiTIzmHoaQJflplOOqzWj/6cjjK1Np2OMRCONmLcwpTzHgt6K84B0B8zmwTfk8JfHAuz lu1w==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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:
b[cursor] -> press 1
b1[cursor] -> press 2
12[cursor]
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author