Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
BUG?: Konsole: ZLE_RPROMPT_INDENT swallows last PS1 character
- X-seq: zsh-workers 33758
- From: Павлов Николай Александрович <kp-pav@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: BUG?: Konsole: ZLE_RPROMPT_INDENT swallows last PS1 character
- Date: Sat, 22 Nov 2014 22:49:15 +0300
- Authentication-results: smtp1o.mail.yandex.net; dkim=pass header.i=@yandex.ru
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1416685764; bh=Tk87wn0PKwwz7kWk2EoAmB5DZmsOI13uFLCqTuJAo84=; h=User-Agent:MIME-Version:Content-Transfer-Encoding:Content-Type: Subject:From:Date:To:Message-ID; b=m9wX8xeIhPOfwnJNs2gZUuV2ufyH/G8IvqPKs+6Za08qgcqIeF4wbiuVW73rkTfrx nRrzeX8GHzAevrgItGAiTYv5p3GtMte57T1hE2MFuNa5IBCImJihsSdSfvbDzmjShQ 5HxuSGiqnecb+Kx6bbqXYkJnOc5L1HRlA4c/HHJY=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
-----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