Skip to content

WSL2 Keyboard Input Bug: Missing Key Events #42

@fadeevab

Description

@fadeevab

All examples hang in WSL2 environment, and no keyboard events are detected.

From my understanding, device_query is used to streamline keyboard events to the application thread. Is there a way to utilize crossterm features instead of device_query giving up some functionality (it would be cool to drop the X11 dependency)?

Overall, there should be a way to utilize the game loop without X11 dependency (basically, X11 is a non-obvious dependency having only a terminal in place).

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