[Pkg-zsh-devel] Zsh 5.7 bug #43288: fix line-broken prompts
Harri T.
haba713 at gmail.com
Mon Jan 17 16:02:58 GMT 2022
Hi,
Zsh 5.7 (also in Debian Buster) has an annoying bug #43288. If a long prompt string is broken into two lines and also a long command line continues to the next (third) line, the first character of the third line is not displayed and editing the command causes a mess.
The fix is in sf.net [1] (I guess it's that one) and it's also discussed in the Zsh developer mailing list [2].
Can you fix the issue in Debian Buster Zsh 5.7 or can you publish 5.8 into Buster backports?
Steps for reproducing the issue:
Set the terminal width to 80 chars.
$ docker run -it debian:buster sh
# apt update && apt install -y zsh
# zsh -l
# export PS1='%~#'
# mkdir -p /mnt/00000/11111/22222/33333/44444/55555/66666/77777/88888/99999/aaaaa/bbbbb/ccccc
# cd /mnt/00000/11111/22222/33333/44444/55555/66666/77777/88888/99999/aaaaa/bbbbb/ccccc
# cd /mnt/00000/11111/22222/33333/44444/55555/66666/77777/88888/99999/aaaaa/bbbbb/ccccc
Try to edit the path argument of the second cd command.
Kind regards,
Harri
[1] https://sourceforge.net/p/zsh/code/ci/64d13738357c9b9c212adbe17f271716abbcf6ea/
[2] https://people.apache.org/~danielsh/zsh/mhonarc-test-20180920001/workers-2018/msg01092.html
More information about the Pkg-zsh-devel
mailing list