Explorar o código

Do not set terminal title based on stty arguments.

noname@inventati.org %!s(int64=10) %!d(string=hai) anos
pai
achega
736685d641
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      st.c

+ 1 - 1
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, "");