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

Workaround for a Windows paste issue #1665

Merged
merged 3 commits into from
Jan 25, 2023

Conversation

davep
Copy link
Contributor

@davep davep commented Jan 25, 2023

See #1661 for lots of context. Long story short, in Windows Terminal it looks like any character that would require the press of a modifier key causes a NUL to appear in the pasted text for that character. This feels like it could be a bug in Windows Terminal and we will investigate and report at some point.

Meanwhile though this provides a workaround that has the paste experience work the same as I'm seeing on macOS (and I would imagine in most terminals on GNU/Linux too).

davep added 3 commits January 25, 2023 14:24
See Textualize#1661 for lots of context. Long story short, in Windows Terminal it
looks like any character that would requite the press of a modifier key
causes a NUL to appear in the pasted text for that character. This feels
like it could be a bug in Windows Terminal and we will investigate and
report at some point.

Meanwhile though this provides a workaround that has the paste experience
work the same as I'm seeing on macOS (and I would imagine in most terminals
on GNU/Linux too).
AKA: don't mix octal and hex Dave!
@davep davep added the enhancement New feature or request label Jan 25, 2023
@davep davep self-assigned this Jan 25, 2023
@davep davep linked an issue Jan 25, 2023 that may be closed by this pull request
@davep davep merged commit ab49dce into Textualize:main Jan 25, 2023
@davep davep deleted the workaround-windows-paste branch January 25, 2023 14:53
@ofek
Copy link
Contributor

ofek commented Jan 25, 2023

@DHowett Hello again! Do you happen to have any insight about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pasting is broken on Windows
3 participants