1

How do I get git bash to set terminal background colour using OSC Ansi Escape sequences?

printf %b '\e]11;rgb:30/00/00\a'

It works when I do it from WSL bash and for some servers when I ssh to them from git bash I can also set the background color.

I tried different ways of doing it, printf, echo -n \e or \033 etc.

So in the link @Destroy666 provided i got the debug tap for terminal, turns out git bash doesn't send the ANSI escape sequence when it is OSC 11. Can this behaviour be changed?

2

0

You must log in to answer this question.

Browse other questions tagged .