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

Working read and write to/from pty #3123

Closed
wants to merge 13 commits into from

Conversation

ulyssesdotcodes
Copy link

Reading from the pty has to be blocking and threaded so that writing can still happen. I'm not entirely sure which of the pty's threads are blocked or locked or anything, but this seems to do the trick.

Just a heads up that I had an issue testing with my usual starship prompt - maybe there's funky utf-16 codes that aren't properly translated?

@ulyssesdotcodes
Copy link
Author

Sorry, accidentally opened on the wrong repo. It was a mistake!

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.

3 participants