aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authornoname@inventati.org <noname@inventati.org>2015-04-21 22:09:49 +0200
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2015-04-23 17:59:10 +0200
commit736685d641c23e8b08f3349d64bf30c1c86cd95d (patch)
tree5346c4a33ffe73932eb46a924b24a3b937312d5b /st.c
parent2fdcc5e5f633083eb5e52b201862106a2c547df9 (diff)
downloadst-736685d641c23e8b08f3349d64bf30c1c86cd95d.tar.gz
st-736685d641c23e8b08f3349d64bf30c1c86cd95d.tar.bz2
Do not set terminal title based on stty arguments.
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index c805117..ece1f64 100644
--- a/st.c
+++ b/st.c
@@ -4090,7 +4090,7 @@ run:
if(argc > 0) {
/* eat all remaining arguments */
opt_cmd = argv;
- if(!opt_title)
+ if(!opt_title && !opt_line)
opt_title = basename(xstrdup(argv[0]));
}
setlocale(LC_CTYPE, "");