Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15664
| From | Алексей Шилин <rootlexx@mail.ru> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: [readline] Multibyte invisible chars cause weird prompt length calculation issue |
| Date | 2019-11-27 23:19 +0300 |
| Message-ID | <mailman.2918.1574885967.13325.bug-bash@gnu.org> (permalink) |
| References | <3dd641953467a3299265e479026fc40a7bb697d4.camel@mail.ru> <68c76159-3cf3-b12f-9145-f0578d5415a3@case.edu> <db11c81c9312dec35fa6579db44dc03d03bb27fd.camel@mail.ru> <f7cb9c63-1eeb-89c0-2bb7-439794075279@case.edu> <f2e0255652f53d22135229ed61f27cca00a312fe.camel@mail.ru> |
В Ср, 27/11/2019 в 11:48 -0500, Chet Ramey пишет: > The reason I ask is that I can (unsurprisingly) reproduce multiple > redisplay issues if the newline after the `\h:' is present, but none > when $PS1 doesn't contain any newlines. You mean you can't reproduce the issue? That's weird, since I can easily do it in Konsole, in GNOME Terminal, even in bare tty; in Debian 10, in Fedora 31 - all with PS1 as simple as '\[\e]0;\w\a\]\w\$ '. Are you sure you're using a multi-byte path (like the one I provided) and a *.UTF-8 locale?
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: [readline] Multibyte invisible chars cause weird prompt length calculation issue Алексей Шилин <rootlexx@mail.ru> - 2019-11-27 23:19 +0300
csiph-web