Skip to content

[osx catalina] kbhit count broken cannot get arrow keys #55

@Zorgatone

Description

@Zorgatone

Tested on iTerm2.app and Terminal.app on OSX Catalina.

I couldn't get they arrow keys (Clang++ std=c++2a) using rlutil::getKey().
Multiple ANSI character sequences don't get handled properly because cnt variable is 0 and the ^[[A sequence in my game loop is split in multiple calls of rlutil::getKey()

As a result I never get rlutil::getKey() to equal rlutil::KEY_UP

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