Skip to content

TTY IO ignores most errors and busy-loops #1110

Description

@dcolascione

Describe the bug
Crossterm mio backend discards all errors except would-block and interrupted, retrying immediately if anything goes wrong,.

To Reproduce
Do a TTY read in background while ignoring SIGTTIN; read gets EIO, crossterm retries constantly in a loop.

Expected behavior
A function should propagate unexpected errors to its parent.

OS
All

Terminal/Console
Codex, but should repro anywhere

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions