Commit 67c1a23

Christoph Lohmann <20h@r-36.net>
2012-09-04 18:08:13
Fixing the resizing behaviour.
1 parent e09709d
Changed files (1)
st.c
@@ -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};