diff options
Diffstat (limited to 'src/pty-unix.c')
-rw-r--r-- | src/pty-unix.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pty-unix.c b/src/pty-unix.c index bc1b8ba..33b33f1 100644 --- a/src/pty-unix.c +++ b/src/pty-unix.c @@ -55,6 +55,12 @@ void runes_pty_backend_spawn_subprocess(RunesTerm *t) /* XXX should use a different TERM value eventually, but for right now * screen is compatible enough */ setenv("TERM", "screen", 1); + /* gnome-terminal sets this, so avoid confusing applications which + * introspect it. not setting it to something else because as far as i + * 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"); + unsetenv("LINES"); unsetenv("COLUMNS"); |