Skip to content

Async read for multi-byte escape sequences consumes next keystroke input #8

@johnharmon

Description

@johnharmon

Async read in window.go sits forever when is sent since os.Stdin does not respect read deadlines. Need to wrap the read in a channel send and handle the timeout on the receive end. The current issue is that the async read after is detected will consume the next keystroke since it hangs in the background forever.

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