bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [readline] Multibyte invisible chars cause weird prompt length calcu


From: Алексей Шилин
Subject: Re: [readline] Multibyte invisible chars cause weird prompt length calculation issue
Date: Wed, 27 Nov 2019 23:19:14 +0300
User-agent: Evolution 3.30.5-1.1

В Ср, 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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]