Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15648
| Path | csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail |
|---|---|
| From | L A Walsh <bash@tlinx.org> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: [readline] Multibyte invisible chars cause weird prompt length calculation issue |
| Date | Mon, 25 Nov 2019 18:29:00 -0800 |
| Lines | 19 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.2666.1574735821.13325.bug-bash@gnu.org> (permalink) |
| References | <3dd641953467a3299265e479026fc40a7bb697d4.camel@mail.ru> <5DDC8DEC.7000602@tlinx.org> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | usenet.stanford.edu 1574735821 26509 209.51.188.17 (26 Nov 2019 02:37:01 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| To | bug-bash@gnu.org, rootlexx@mail.ru |
| Envelope-to | bug-bash@gnu.org |
| User-Agent | Thunderbird |
| In-Reply-To | <3dd641953467a3299265e479026fc40a7bb697d4.camel@mail.ru> |
| X-detected-operating-system | by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] |
| X-Received-From | 173.164.175.65 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <https://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <5DDC8DEC.7000602@tlinx.org> |
| X-Mailman-Original-References | <3dd641953467a3299265e479026fc40a7bb697d4.camel@mail.ru> |
| Xref | csiph.com gnu.bash.bug:15648 |
Show key headers only | View raw
On 2019/11/25 07:05, <rootlexx@mail.ru> wrote:
> # As you see, now everything works as expected i.e. the issue seems
> # to be in the way readline is handling multibyte invisible characters
> # in a prompt, *probably* in the rl_redisplay() function.
>
----
Multi-byte or not, invisible characters need to be enclosed
as documented under 'PROMPTING':
\[ begin a sequence of non-printing characters, which could
be used to embed a terminal control sequence into the
prompt
\] end a sequence of non-printing characters
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: [readline] Multibyte invisible chars cause weird prompt length calculation issue L A Walsh <bash@tlinx.org> - 2019-11-25 18:29 -0800
csiph-web