0

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

phuclv
  • 37,963
  • 15
  • 156
  • 475
Chris9834
  • 11
  • 4

1 Answers1

1

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.

KamilCuk
  • 120,984
  • 8
  • 59
  • 111
  • So it's nothing more then a useless gimmick, funny to see but no real usage for it? Or can you create GUI-Elements or something with it? Any purpose? – Chris9834 Feb 20 '23 at 11:59
  • I do not understand. The real usage is to see the color. You can do anything with it. It _is_ a gui element already, it's part of konsole gui. – KamilCuk Feb 20 '23 at 12:03