diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-04-23 17:39:30 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-04-23 17:39:30 -0400 |
commit | ac67dce7914c6002e66bb6d977fb31513bcc68f1 (patch) | |
tree | d4f32ca3076f285d94fd71067d8961b0407c9ad9 /src/pty-unix.c | |
parent | 0f9682d9d4db7f83fa7d45d1035e99982912535b (diff) | |
download | runes-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
Diffstat (limited to 'src/pty-unix.c')
-rw-r--r-- | src/pty-unix.c | 3 |
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)); |