Skip to content
This repository was archived by the owner on Aug 23, 2018. It is now read-only.
This repository was archived by the owner on Aug 23, 2018. It is now read-only.

docs incorrectly recommend using Char.toCode / fromCode to interpret KeyCode values #11

@jhbrown94

Description

@jhbrown94

Char.toCode/Char.fromCode convert to/from UTF-16 values. KeyCode values only intermittently overlap with those.

E.g. on Chrome on my Mac, toCode ']' yields 93, while the KeyCode registers as 221.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions