aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-04-23 17:39:30 -0400
committerJesse Luehrs <doy@tozt.net>2014-04-23 17:39:30 -0400
commitac67dce7914c6002e66bb6d977fb31513bcc68f1 (patch)
treed4f32ca3076f285d94fd71067d8961b0407c9ad9
parent0f9682d9d4db7f83fa7d45d1035e99982912535b (diff)
downloadrunes-ac67dce7914c6002e66bb6d977fb31513bcc68f1.tar.gz
runes-ac67dce7914c6002e66bb6d977fb31513bcc68f1.zip
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
-rw-r--r--src/pty-unix.c3
1 files changed, 3 insertions, 0 deletions
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));