Description
Description of the new feature/enhancement
The ability to preset what colour a tab would be by what text is in the title of the tab.
I regularly have multiple tabs open to different servers but also multiple tabs open to the same server at the same time. An example tab bar could look like
me@laptop, bob@serverA, bob@serverA, bob@serverB, bob@serverC
On top of that I regularly close and open tabs to 'serverA' or 'serverB' throughout the day. So the ability to choose a colour manually for an open tab is useful but the frequency I open and close tabs means it isn't very efficient.
I'd like to be able to put a setting in the settings file that is something like
"tabColours":
{
"serverA" : "red",
"laptop" : "yellow",
"server[B,C]" : "green",
},
Then when I open a new tab and connect to serverB, the tab would automatically switch to the colour green. If I disconnected from ServerB and the Terminal session title changed back to 'me@laptop' the tab colour would auto switch to the colour yellow from green.
Proposed technical implementation details (optional)
Supporting regex pattern matching would be nice but even if it couldn't do that and was just basic static text matching would be good.