diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-05-03 00:16:30 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-05-03 00:16:30 -0400 |
commit | 9318d745fd31737135c65fa5c416ee1ba8f7a30a (patch) | |
tree | e27df85c81d2611c71c8fadd8cf30e17db71212c | |
parent | 8ce44cce8e385d1875b776e7e4fb87d4b4393e69 (diff) | |
download | runes-9318d745fd31737135c65fa5c416ee1ba8f7a30a.tar.gz runes-9318d745fd31737135c65fa5c416ee1ba8f7a30a.zip |
indicate that we support 256 colors
this makes tmux work properly
-rw-r--r-- | src/pty-unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pty-unix.c b/src/pty-unix.c index 69cc99c..cf2fe0d 100644 --- a/src/pty-unix.c +++ b/src/pty-unix.c @@ -55,7 +55,7 @@ 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); + setenv("TERM", "screen-256color", 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 |