Open provCristianMaluenda opened 1 year ago
Hi, I am trying to set the background color using ANSI. The console looks fine, but xbar changes the color to the text and not the background. I am using Python3 and the code is like:
xbar
HEALTHY='\x1b[42m' UNHEALTHY='\x1b[41m' NC='\x1b[0m' print(f'{HEALTHY}dev{NC}')
Console: xbar shows the text blue instead of the background:
I saw the example https://github.com/matryer/xbar/pull/703 but I can not find an example of a text with a colored background.
Thanks
Hi, I am trying to set the background color using ANSI. The console looks fine, but
xbar
changes the color to the text and not the background. I am using Python3 and the code is like:Console:
xbar shows the text blue instead of the background:
![image](https://github.com/matryer/xbar/assets/44172650/58618175-7f05-4706-8314-99306d6d64d1)
I saw the example https://github.com/matryer/xbar/pull/703 but I can not find an example of a text with a colored background.
Thanks