[Top][All Lists]

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

Re: [Bug-readline] certain wide characters mess up readline

From: Chet Ramey
Subject: Re: [Bug-readline] certain wide characters mess up readline
Date: Tue, 24 May 2016 08:58:21 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.1.0

On 5/24/16 2:05 AM, Grisha Levit wrote:
> Some wide characters (e.g. U+1F201 🈁) really mess up readline. For
> example, it treats it correctly as a wide character when pasted on the line
> but then only moves the cursor one point when moving back through the line.

I haven't looked at this yet, but this is exactly what should happen when
you use a multibyte character that isn't valid in the current locale.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

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