aboutsummaryrefslogtreecommitdiffstats
path: root/pty-unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'pty-unix.c')
-rw-r--r--pty-unix.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pty-unix.c b/pty-unix.c
index f01578a..aadd661 100644
--- a/pty-unix.c
+++ b/pty-unix.c
@@ -43,6 +43,10 @@ void runes_pty_backend_init(RunesTerm *t)
shell = "/bin/sh";
}
+ setenv("TERM", "screen", 1);
+ unsetenv("LINES");
+ unsetenv("COLUMNS");
+
execl(shell, shell, (char *)NULL);
}
}