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

Mangled text in Helix when unicode is involved #4255

Open
chtenb opened this issue Sep 8, 2023 · 1 comment
Open

Mangled text in Helix when unicode is involved #4255

chtenb opened this issue Sep 8, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@chtenb
Copy link
Sponsor

chtenb commented Sep 8, 2023

What Operating System(s) are you seeing this problem on?

Windows

Which Wayland compositor or X11 Window manager(s) are you using?

No response

WezTerm version

20230828-220414-99c96139

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

image

I've attached an asciicast where you see me open a file in Helix, copy text from that file to the system clipboard and paste it back into the file. This is a reliable way to trigger the issue if the copied text contains unicode.
In the second asciicast I move to that same section in the file and open+close an overlay. This also triggers the issue.

This issue only occurs in Helix+Wezterm. Helix+WindowsTerminal and Vim+Wezterm both do not exhibit this behavior.

hx-wezterm-clipboard-paste.cast.txt
helix-open-overlay.cast.txt

To Reproduce

Install Helix+wezterm on windows and open a file with unicode. Play around with it like in the asciicasts.

Configuration

no config

Expected Behavior

No response

Logs

No warnings/errors in the logs

Anything else?

No response

@chtenb chtenb added the bug Something isn't working label Sep 8, 2023
@wez
Copy link
Owner

wez commented Sep 8, 2023

Maybe related to:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants