-
Notifications
You must be signed in to change notification settings - Fork 304
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
Powershell returning an error whenever I use an emoji in the terminal #3915
Comments
Just realized there's already an open issue referencing the same error. |
@Keith-Web3 thanks for submitting the issue! Can you link the issue you found that has the same error and we can close this one to track that one? |
Sure, it's #1329. |
Do you mind trying on PSReadLine 2.3.4 just to check that this is still an issue with the latest version of PSReadLine? |
This is a duplicate of #3832 and is actually an issue with the older version of conpty that ships with Windows -- the � shown in VSCode terminal was because only the high surrogate of the surrogate pair that represents the emoji was pasted into the read-line buffer, due to the older version of conpty not handling it correctly. See #3832 (comment) and the replying comment from @Tyriar for details. |
Prerequisites
Exception report
Screenshot
Environment data
Steps to reproduce
Hello world 😂
Expected behavior
Commit the change with the emoji
Actual behavior
Throws an error saying "something went wrong" without further info on the error.
The text was updated successfully, but these errors were encountered: