-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Cannot input certain unicode characters on windows #8458
Comments
Possibly related issue due to shared dependencies: nushell/nushell#10578 |
Looks like an issue upstream in crossterm as they say in the nushell issue |
yeah temrinal input (particuarly unicode) on windows is simply a mess and very hard to implement, there are other open issues about that (crossterm-rs/crossterm#820, #7129). i don't think the crossterm folks would work on this themselves.The windows input fixes were made by an outside contributor who doens't appear active on the repo. I considered fixing crossterm-rs/crossterm#820, myself but I don't ever use windows and don't have access to a windows machine for testing (and don't care enough to setup a VM just for this). |
I'd be happy to test on windows, in case anyone decides to take this on. |
Could it be that somehow you have a different conpty version? I don't really know how this all works, but I've read somewhere that some applications ship their own version of conpty while others depend on the system installed version. |
I don't know, I have the most stripped down build of win10 that doesn't have a store or even a calculator. |
Wezterm packages a version of conpty with it. But this might be something else since it works in Windows Terminal. |
I can replicate it on Windows 11 but not Windows 10. |
this likely should be reported against crossterm. They developed their windows handling against windows 10 I think. |
I will. I also rechecked and I can actually replicate this in both 10 and 11. However, Alacritty on both versions works as expected compared to Windows Terminal and Wezterm. |
yeah wezterm uses a different API. I don't really know the ins and outs fo windows input handling but my understanding is that wezterm is the first terminal emulator besides windows terminal to use a certain API so its likely related to that API. |
Two possibly related issues I found were microsoft/terminal#190 and PowerShell/PSReadLine#1329 |
Should I create an issue in the crossterm issue tracker for this? |
This issue does not reproduce anymore for me on the latest release on cmd.exe. Not sure if fixed by windows updates or crossterm updates. |
Still occurs on wezterm, I created wez/wezterm#5260 for that |
Summary
It's impossible to input the π character into helix, either through pasting or directly inserting (using something like wincompose).
The character β poses no problem however.
Reproduction Steps
Copy the π from here and try to paste it into helix using whatever method.
Helix log
The log contains no warnings
Platform
Windows
Terminal Emulator
Tried several, including WezTerm, Windows Terminal, cmd.exe
Helix Version
Custom build based on a recent commit
The text was updated successfully, but these errors were encountered: