Skip to content

Reading from stdin #153

@ohle

Description

@ohle

Hi.

I'm trying to make a textual app that deals with data from stdin. However, if I pipe something to a textual app, it gets consumed as keystrokes. When I consume stdin first (via sys.stdin.read(), for example), the app does not process keystrokes (rather, the typed keys get superimposed onto it).

Is there a solution for this?

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