Skip to content

Unicode input #13

@khaf

Description

@khaf

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions