Re: [screen-devel] [PATCH] ansi: add support for xterm OSC 11

2017-09-01 Thread Amadeusz Sławiński
On Thu, 31 Aug 2017 16:24:50 +0200 Lubomir Rintel wrote: > On Thu, 2017-08-31 at 11:32 +0200, Amadeusz Sławiński wrote: > > Hey, > > > > On Wed, 30 Aug 2017 17:23:41 +0200 > > Lubomir Rintel wrote: > > > > > It allows for getting and setting the background color. Notably, Vim uses > > > OSC

Re: [screen-devel] [PATCH] ansi: add support for xterm OSC 11

2017-08-31 Thread Lubomir Rintel
On Thu, 2017-08-31 at 11:32 +0200, Amadeusz Sławiński wrote: > Hey, > > On Wed, 30 Aug 2017 17:23:41 +0200 > Lubomir Rintel wrote: > > > 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

Re: [screen-devel] [PATCH] ansi: add support for xterm OSC 11

2017-08-31 Thread Amadeusz Sławiński
Hey, On Wed, 30 Aug 2017 17:23:41 +0200 Lubomir Rintel wrote: > 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.

[screen-devel] [PATCH] ansi: add support for xterm OSC 11

2017-08-30 Thread Lubomir Rintel
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: