Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Cannot paste unicode <0221>, <0234> - <024f>
- X-seq: zsh-workers 41026
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Cannot paste unicode <0221>, <0234> - <024f>
- Date: Fri, 28 Apr 2017 15:10:43 +0100
- Cms-type: 201P
- In-reply-to: <etPan.5903498f.140e0f76.15fbc@MacMini.local>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: Samsung Cambridge Solution Centre
- References: <CGME20170428111102epcas3p1cc3d86dc54fdafd8cd0e613bbaeba69b@epcas3p1.samsung.com> <etPan.59031f8e.515f007c.15fbc@MacMini.local> <20170428124439.73447db2@pwslap01u.europe.root.pri> <etPan.59033168.1190cde7.15fbc@MacMini.local> <20170428141650.7ed174d6@pwslap01u.europe.root.pri> <etPan.5903498f.140e0f76.15fbc@MacMini.local>
On Fri, 28 Apr 2017 15:54:23 +0200
Sebastian Gniazdowski <psprint@xxxxxxxxxxx> wrote:
> > You might want to confirm also if it actually is wcwidth() rather than
> > iswprint() by hacking zle_refresh.c e.g. the following (untested). This
> > might be a plausible patch, actually --- if iswprint() succeeds,
> > presumably the printing width actually is positive (combining characters
> > are handled as a special case afterwards).
>
> Tried the patch, no luck, result is the same
So most likely iswprint() is returning false for those characters for
some reason, although it could be wrong somewhere else entirely.
Doesn't look like it matches the range of metafied characters for
once --- the first character in the affected run is U+0234 which
is UTF-8 c8 b4 20 none of which is metafied.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author