From 9318d745fd31737135c65fa5c416ee1ba8f7a30a Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 3 May 2016 00:16:30 -0400 Subject: indicate that we support 256 colors this makes tmux work properly --- src/pty-unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-54-g00ecf