mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-25 00:15:46 +01:00
Fixing the resizing behaviour.
This commit is contained in:
parent
e09709d92d
commit
67c1a23053
1 changed files with 4 additions and 0 deletions
4
st.c
4
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};
|
||||
|
|
Loading…
Reference in a new issue