]> git.armaanb.net Git - st.git/commitdiff
Do not set terminal title based on stty arguments.
authornoname@inventati.org <noname@inventati.org>
Tue, 21 Apr 2015 20:09:49 +0000 (22:09 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Thu, 23 Apr 2015 15:59:10 +0000 (17:59 +0200)
st.c

diff --git a/st.c b/st.c
index c8051177aa62c1e1153d95ff102e37b6661fe692..ece1f64b50926b96c34d723ca03e64aed4e7928b 100644 (file)
--- 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, "");