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 c805117..ece1f64 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, "");