diff options
| author | Christoph Lohmann <20h@r-36.net> | 2012-09-05 00:08:13 +0200 | 
|---|---|---|
| committer | Christoph Lohmann <20h@r-36.net> | 2012-09-05 00:08:13 +0200 | 
| commit | 76a86e16125b6b2dcdbf390d4342a4098523156d (patch) | |
| tree | 7ab841ca2a4a4258279aad0aae15f7938e1e141e | |
| parent | a9550744b5068c7abba591a2700a4053be46a933 (diff) | |
| download | st-76a86e16125b6b2dcdbf390d4342a4098523156d.tar.gz st-76a86e16125b6b2dcdbf390d4342a4098523156d.tar.bz2 | |
Fixing the resizing behaviour.
| -rw-r--r-- | st.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| @@ -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}; | 
