[hackers] [st] Fixing the resizing behaviour. || Christoph Lohmann
changeset: 276:f36427955785
tag: tip
user: Christoph Lohmann <20h_AT_r-36.net>
date: Wed Sep 05 00:08:13 2012 +0200
files: st.c
description:
Fixing the resizing behaviour.
diff -r b1c4e6db86a2 -r f36427955785 st.c
--- a/st.c Tue Sep 04 22:51:29 2012 +0200
+++ b/st.c Wed Sep 05 00:08:13 2012 +0200
_AT_@ -739,6 +739,10 @@
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};
Received on Wed Sep 05 2012 - 00:10:26 CEST
This archive was generated by hypermail 2.3.0
: Wed Sep 05 2012 - 00:12:14 CEST