terminal
terminal copied to clipboard
[question] Maybe a bug about msys shell
https://github.com/ClementTsang/bottom/issues/747#issuecomment-1210287764
Many programs cannot work normally in mintty/msys shell but can work normally in windows terminal/msys shell. The exception is for that btm, except fullscreen, it still exists other problems which windows terminal cannot fix. So maybe it should be reported to windows terminal?
Okay I'm maybe having a hard time parsing that other thread you've linked. Can you give me some specific repro steps, with what you think should be happening, and what happens instead in Windows Terminal/? Thanks!
The step to reproduce:
- According to https://www.msys2.org/docs/terminals/, Use Windows Terminal/msys2 (MINGW64)
pacman -S mingw-w64-bottombtm- move the cursor
Result:

Expected:
Work normaly, no strange character
Hmm. I bet this is a mismatch between the expected width of a braille character, and how big we actually render it. I suspect we've got a dupe laying around here for this.
#6987 is probably a similar root cause, tbh.
@zadjii-msft I don't think it's a braille character issue. Have a look at the bottom left corner of that screenshot. Notice the ;87H? That looks to me like a CUP sequence that somehow got terminated early with the remaining characters being output as plain text. That shouldn't be possible in any normal scenario.
I remember in the past we had issues where the problem was msys or cygwin were trying to handle the VT sequence themselves instead of passing them on to the terminal. Is it possible it's something like that again?
Oooh, good Where's Waldo-ing there. @Freed-Wu could you compare with btm for WSL? That would get the msys runtime out of the way. That's an idea at least
could you compare with
btmfor WSL? That would get the msys runtime out of the way. That's an idea at least
I only use msys2 and have not learned about wsl too much. To the best of my knowledge, the former is a platform to run win32 exe and the latter is a simulator/virtual machine (not sure) to run linux elf? I guess your meaning is to run btm elf in wsl not run btm.exe in wsl?