I have a script that runs in a tabbed terminal window which will periodically update the tab's title with some text using:
printf 'e]1;Some Texta'
This works great, but I'd like to take to take it a step further and colorize the text under certain conditions. I can set the actual terminal's text color by doing something like:
printf 'e[31mRed Text'
but, I can't quite figure out how to make this apply to the tab's title.
I guess there are really two questions here:
برچسب:
نویسنده: استخدام کار