From ac67dce7914c6002e66bb6d977fb31513bcc68f1 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 23 Apr 2014 17:39:30 -0400 Subject: also clear COLORFGBG if it's actually widely used, i'll set it to something reasonable instead, but leaving it set to the previous value is certainly wrong --- src/pty-unix.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/pty-unix.c b/src/pty-unix.c index dc72972..0a4dc8b 100644 --- a/src/pty-unix.c +++ b/src/pty-unix.c @@ -60,6 +60,9 @@ void runes_pty_backend_spawn_subprocess(RunesTerm *t) * can tell, it's not actually useful these days, given that terminfo * databases are much more reliable than they were 10 years ago */ unsetenv("COLORTERM"); + /* less sure about this one being useless, but leaving it unset for now + * until someone complains */ + unsetenv("COLORFGBG"); /* this is used by, for instance, w3m */ sprintf(window_id, "%lu", runes_window_backend_get_window_id(t)); -- cgit v1.2.3-54-g00ecf