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

Throw error in set_terminal_attr when started without a TTY on macOS #953

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ojanke
Copy link

@ojanke ojanke commented Dec 10, 2024

This closes #828, in which rustix::termios::tcsetattr is hanging without ability to interrupt when passed a file descriptor corresponding to /dev/tty on macOS.

@ojanke ojanke requested a review from TimonPost as a code owner December 10, 2024 04:27
@ojanke ojanke changed the title Throw error in set_terminal_attr when started without a TTY on macOS (#828) Throw error in set_terminal_attr when started without a TTY on macOS Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

On MacOS, crossterm::cursor::position() freezes the program when stdin is piped
1 participant