zsh-workers
 help / color / mirror / code / Atom feed
From: "Павлов Николай Александрович" <kp-pav@yandex.ru>
To: zsh-workers@zsh.org
Subject: BUG?: Konsole: ZLE_RPROMPT_INDENT swallows last PS1 character
Date: Sat, 22 Nov 2014 22:49:15 +0300	[thread overview]
Message-ID: <37510A22-C2EF-4B40-A929-5992F0AE143D@yandex.ru> (raw)

-----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-----


             reply	other threads:[~2014-11-22 19:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-22 19:49 Павлов Николай Александрович [this message]
2014-11-22 23:07 ` Bart Schaefer
2014-11-23  3:29   ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=37510A22-C2EF-4B40-A929-5992F0AE143D@yandex.ru \
    --to=kp-pav@yandex.ru \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).