How to determine a terminal's background color?

后端 未结 5 522
余生分开走
余生分开走 2020-12-09 03:56

I\'d like to know if there is any way to determine a terminal\'s background color ?

In my case, using gnome-terminal.
It might matter, since it\'s entirety up to

5条回答
  •  心在旅途
    2020-12-09 04:25

    Aside from apparently rxvt-only $COLORFGBG, I am not aware that anything else even exists. Mostly people seem to be referring to how vim does it, and even that is an educated guess at best.

提交回复
热议问题