Skip to content

[Windows] Not a terminal error when shift key is pressed #83

@spenserblack

Description

@spenserblack

When reading a line from the terminal, pressing the shift key results in an error { kind: NotConnected, error: "Not a terminal" } on Windows. It seems to happen with both Powershell and Command Prompt

To Reproduce

(In Windows)

git clone https://github.com/mitsuhiko/console.git
cargo run --example term
# press shift key on the To edit prompt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions