Do not set terminal title based on stty arguments.

This commit is contained in:
noname@inventati.org 2015-04-21 22:09:49 +02:00 committed by Roberto E. Vargas Caballero
parent 2fdcc5e5f6
commit 736685d641
1 changed files with 1 additions and 1 deletions

2
st.c
View File

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