Skip to content

readkey() does not work with esc key #2

@ids1024

Description

@ids1024

You may already know this, but when escape is pressed, readkey() does not return. I understand why this is (some other keys are escape sequences), but there must be a way to handle this, since many programs seem to be able to do it.

Edit: Additionally, it looks like Windows doesn't use ANSI escape codes, so readkey might not work with non-ascii keys on Windows. I have not tested that.

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