[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rl_message with invisible prompt chars in C locale
From: |
Chet Ramey |
Subject: |
Re: rl_message with invisible prompt chars in C locale |
Date: |
Wed, 19 Apr 2023 16:25:44 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 |
On 4/18/23 1:18 AM, Grisha Levit wrote:
With LC_ALL=C, invisible characters in the prompt sometimes cause
incorrect redisplay when adding or clearing a message with a line
that's longer than the screen width.
Thanks for the report. Redisplay has to be careful when switching
between lines with different prompts generated by rl_message and
user prompts containing invisible characters, since the number of
invisible characters on the line changes.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/