Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Cannot paste unicode <0221>, <0234> - <024f>



On 1 maja 2017 at 18:38:07, Jun T. (takimoto-j@xxxxxxxxxxxxxxxxx) wrote:
> Here is a quick (maybe too simple) patch.
>  
> wcwidth() on MacOSX was broken for combining characters,
> but Apple has fixed *this* problem a few years ago,
> probably in OSX 10.8 (Mavericks). So BROKEN_WCWIDTH is
> NOT defined on recent macOS.

Tested the patch. I get:

checking if the wcwidth() function is broken... yes
checking if the iswprint() function is broken... yes
checking if the isprint() function is broken... yes

and pasting of "ȮȯȰȱȲȳȴȵȶȷȸȹ" works. Also tried to paste the 1024 characters that I use and it worked.

-- 
Sebastian Gniazdowski
psprint /at/ zdharma.org



Messages sorted by: Reverse Date, Date, Thread, Author