what is this? bash shows rectangular colored filled area

72 Views Asked by At

I just have seen that (see picture) and I'm wondering what I see there.

It's a little script, showing the status of a SAP server, which is executed by "watch"-cmd in a tmux-box. When I move with the mouse over the word "GREEN", bash shows me a green filled area.

What kind of function is that? How is it named, configured, where is it part of?

bash script showing the word GREEN and a green filled area

I've done a little internet search that gave me no result

OK, it's from the konsole Terminal Emulator of KDE. And it shows some more colours as well, but I have no idea what's the use of it.

yellow area

1

There are 1 best solutions below

2
KamilCuk On

Konsole is quite smart, it has integrated many things. In this case, when hovering curses over some text it is showing you the color of that text, so YELLOW shows a yellow box.

What kind of function is that? How is it named, configured, where is it part of?

You would have to browse KDE konsole source code for that.