Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompt crashes if program is run with crossterm+piped input+macos #200

Open
mikaelmello opened this issue Dec 27, 2023 · 1 comment
Open

Comments

@mikaelmello
Copy link
Owner

mikaelmello commented Dec 27, 2023

crossterm support for reading events from /dev/tty only is limited on macos: crossterm-rs/crossterm#396

@mikaelmello mikaelmello changed the title macos Prompt crashes if program is run with crossterm+piped input+macos Dec 27, 2023
@sigoden
Copy link

sigoden commented May 21, 2024

Using crossterm with the use-dev-tty feature can resolve the issue, but this feature is only available in crossterm versions 0.26.0 and later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants