From 5427dfb428b8ab95eaeeca635574ea7ba125667b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?=
Date: Mon, 14 Sep 2020 07:52:16 +0200 Subject: [PATCH] Try a bit harder to reset colours back --- termtest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/termtest.c b/termtest.c index 90afa73..f2e2d73 100644 --- a/termtest.c +++ b/termtest.c @@ -250,6 +250,8 @@ int main(int argc, char *argv[]) { } if (*bright_red_save) comm(bright_red_save, false); + else + comm(OSC "104;9" BEL, false); // Linux palette sequence, supported by e.g. pterm. // We must take care to suffix it with an OSC terminator at least.