-
-
Notifications
You must be signed in to change notification settings - Fork 584
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
Not working in Windows Terminal #1098
Comments
Not a windows user here. Relying on contributors |
Can not confirm the bug with Gitui 0.20.1 and Windows Terminal 1.11.3471.0 on Windows 10. |
I can reproduce it (Git-Bash inside Windows Terminal). As the others have already pointed out, it works fine if gitui is run under Windows Terminal directly (using either cmd.exe, Powershell or WSL). (git bash uses cygwin if I understood correctly). |
see crossterm-rs/crossterm#580 |
This is happening to me as well, using JetBrains Mono Nerd Font. |
I also replicated this on Git Bash with 0 config (using Cascadia Mono). |
This issue has been automatically marked as stale because it has not had any activity half a year. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
right now, I am using version 0.22.1 on Windows 21H2. I tried it on |
Yup, can confirm it now works in Git Bash without issue. |
So this can be closed? |
Hi @extrawurst , good and bad news on this problem. Bad is that I was partially wrong about "it works" part as it was not clear to me (as to OP, so missing info) how the git-bash was running in Windows Terminal. The good news is the when I was using But I have found this |
The readme for that library has a list of apps that use it, and gitui is on the list. |
hmm, I did not notice that :) then that means the difference with helix editor is the usage of the library since it works within the bash.exe. I don't have the knowledge to dig in further, so I hope you guys have time for that ;) |
I run gitui from git-bash with command: winpty <path_to_gitui_exe>. Its work. |
actually I used "seems" word, because there is a problem with modifier key icons; enter, tab, shift. both |
I don't remember about the question marks, whether I have them displayed now or not. The main thing is that now my interface responds to the keys and updates the GUI correctly. |
This issue has been automatically marked as stale because it has not had any activity half a year. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
I downloaded your tar.gz and extracted and ran it in Windows Terminal in git-bash.
When I ran it plain, it actually printed control codes:
But here's the funny part. When I piped it like
$ gitui.exe | cat
, it worked:The text was updated successfully, but these errors were encountered: