randy3k / Terminus

Bring a real terminal to Sublime Text
https://packagecontrol.io/packages/Terminus
MIT License
1.39k stars 82 forks source link

ANSI escaping not properly for git bash #408

Open sascha-meissner opened 1 year ago

sascha-meissner commented 1 year ago

Hello, i´m using termius for a long time with git bash on windows, i ignored this bug a long time but now i feel to create an issue for this, i´m not sure if this is related to other issues related to the "upstream winpty's issue". AFAIS mine is a bit diferrent.

I´m using symfony console commands and neither the color escaping nor autocomplete stuff seem to work properly, while it does in the original git bash, here´s my shell configuration:

        {
            "name": "Git Bash",
            "cmd": ["C:\\Program Files\\Git\\bin\\sh.exe"],
            "env": {},
            "enable": true,
            "default" : true,
            "platforms": ["windows"]
        }

And here is how it should look like:

image

And here is how it looks:

image

randy3k commented 10 months ago

Try changing the setting "unix_term" to "xterm" or "xterm-256color"