Fixing the resizing behaviour.

This commit is contained in:
Christoph Lohmann 2012-09-05 00:08:13 +02:00
parent e09709d92d
commit 67c1a23053

4
st.c
View File

@ -739,6 +739,10 @@ execsh(void) {
char **args;
char *envshell = getenv("SHELL");
unsetenv("COLUMNS");
unsetenv("LINES");
unsetenv("TERMCAP");
DEFAULT(envshell, SHELL);
putenv("TERM="TNAME);
args = opt_cmd ? opt_cmd : (char*[]){envshell, "-i", NULL};