ncurses icon indicating copy to clipboard operation
ncurses copied to clipboard

Unicode input

Open khaf opened this issue 5 years ago • 1 comments

It seems that the result of get_char does not agree with NCurses::print if they are multi-byte unicode codepoints in NCurses::Key. Key probably needs specific to_char and to_s implementations.

You can simply test this using the examples/input.cr and typing using a non-English input (Easiest would be Russian or Chinese I guess)

I tested on MacOS. Linux is probably the same.

khaf avatar Apr 17 '20 11:04 khaf

I can confirm that it happens on Linux too. Entering polish diacritics either results in displaying other symbol or nothing.

vllur avatar Aug 05 '20 11:08 vllur