-
Notifications
You must be signed in to change notification settings - Fork 27
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
Write output corruption when spawning pwsh #210
Comments
EDIT: But you did manually add a null terminator, so that's not the issue... time to keep digging... EDIT 2: So actually caused by writing the nul byte through to the PTY. I will send a PR. |
The fix was merged. Thanks @andfoy. But winpty-rs and this module still need to be released for the fix to be picked up. (Just an FYI in case anyone hits this). P.S. This module seems to have not committed the Cargo.lock which means it will build with whatever happens to be the latest matching versions of winpty-rs and other libraries. I think this is a case where you should commit the Cargo.lock for reproducible builds (As this is a cdylib case), just remember to update it when needed. |
@andfoy is the maintainer of this project as well (as you can see in the commit history). |
Yeah. I know. It's up to him when to make a new release of this. |
(With
starship
prompt installed)I'm getting the following:
That
Display all 131 possibilities
shouldn't be there, it's like someone pressed tab, but at no point in the code did I send a tab character, it seems like the string is corrupted on output, missing null terminator perhaps? Or encoding error?The text was updated successfully, but these errors were encountered: