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

BUG?: Konsole: ZLE_RPROMPT_INDENT swallows last PS1 character



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Consider the following command

    PS1='%% ' RPS1='#' ZLE_RPROMPT_INDENT=0 zsh -f

. I would expect this result in

    !% _          #!

(where '!' are terminal emulator boundaries and '_' is cursor position). Unfortunately this does work in fbterm, rxvt-unicode and xterm, but in konsole this produces the following:

    !%_           #!

(note that there is no space after per cent character). Same thing happens with any other trailing character. Anybody knows whether this is zsh or konsole bug and how to fix it? Fish has no such problem, so I would assume zsh.

Using zsh-5.0.7, konsole-4.12.5.
-----BEGIN PGP SIGNATURE-----
Version: APG v1.1.1

iQJNBAEBCgA3BQJUcOi5MBwfMDI7PjIgHTg6PjswOSAQOzU6QTA9NEA+MjhHIDxr
cC1wYXZAeWFuZGV4LnJ1PgAKCRBu+P2/AXZZIuG/EACEkge6Xw4Rij7ThKCBa4Nl
AOnHYl9UIz8HLtjKzqineJcj1mwrs2ZwDxxiIdxghRj27Jg3vBDtaZFTc2g2vM8s
H/WjZgWX/JkQIx27OV6m2ObIfXSt3LsAh46z0VnaVM7k1soEvoFLFTt0/QuBWIbE
MMQ5/OUc/mqsP3HN1wjhiLb4pxcIWMlhH5Sx8uDqngL3WbhtGWJZraIsyEZ7/kD3
27+0H6d5nl1TqQYMsvQ+zkDRBhJglhRXLFel082JVHPIIl03xeVG5tgztagGOxW5
tDm2d0sGt2mbi/hzROyMjji9ghRx5T6WOQAXWyn4R9rN1R/bq0Uau+B5wvNmCtWi
pw9qpNoiqOHV7nC4CHp9lF4cSIGlKrMk05qaJ2UPc0FV9SPpXviGHBcB/ZD79zYl
9BNAXsazZI1z5lOWPB2Pa/yKx7aviUQADFyrHUvNHtB8MKEqce8fbtEtRF3Ghg17
PkfEMXeRV5BO4FGprlbvkUjMEXpXVTcRTge80JIcRyJlFFKR+5VlfKRLRuJPA4qw
tnM4ku/dN3RdIlc7SMPF05yqBYWt/pAP4voiCD9zA8xh4cQS2mAmC19su5Qvl95p
RkQU0rYHrw8LNCLUvinmipejAHs3H3qoN78uqmDZUasTnCuGoLVnu4t19jhb4cVu
j/Io1CPfgVh3RxBS530Kuw==
=/5bl
-----END PGP SIGNATURE-----



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