diff options
Diffstat (limited to 'pty-unix.c')
-rw-r--r-- | pty-unix.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); } } |