Lubomir Rintel c5db181b6e ansi: add support for xterm OSC 11
It allows for getting and setting the background color. Notably, Vim uses
OSC 11 to learn whether it's running on a light or dark colored terminal
and choose a color scheme accordingly.

Tested with gnome-terminal and xterm. When called with "?" argument the
current background color is returned:

  $ echo -ne "\e]11;?\e\\"
  $ 11;rgb:2323/2727/2929

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
(cherry picked from commit 7059bff20a)
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net
2018-11-18 16:00:25 +01:00
2005-12-21 11:01:20 +00:00
2018-11-18 16:00:25 +01:00
2005-12-15 16:11:20 +00:00
Description
Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells
9.9 MiB
Languages
C 76.7%
Roff 14.1%
PostScript 6%
Shell 1.4%
Makefile 1.1%
Other 0.7%