From 52ece3592c6befabf585571e74f144fb500b4cce Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 21 Aug 2019 17:57:02 +0200 Subject: osc: implement "change color" commands This implements OSC 4, 10, 11 - change /foreground/background, and their corresponding 'query' variant (which was already implemented for OSC 10/11). It also implements OSC 104, 110, 111 - reset /foreground/background. Set corresponding terminfo entries to signal this support to clients. --- foot.info | 2 ++ 1 file changed, 2 insertions(+) (limited to 'foot.info') diff --git a/foot.info b/foot.info index 05224182..49172ecf 100644 --- a/foot.info +++ b/foot.info @@ -13,6 +13,7 @@ foot-direct|foot with direct color indexing, foot+base|foot base fragment, am, bce, + ccc, km, mir, msgr, @@ -61,6 +62,7 @@ foot+base|foot base fragment, il1=\E[L, ind=\n, indn=\E[%p1%dS, + initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\, invis=\E[8m, is2=\E[!p\E[?3;4l\E[4l\E>, kDC3=\E[3;3~, -- cgit v1.3