Do not set terminal title based on stty arguments. - st - simple terminal
HTML git clone https://git.parazyd.org/st
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 736685d641c23e8b08f3349d64bf30c1c86cd95d
DIR parent 2fdcc5e5f633083eb5e52b201862106a2c547df9
HTML Author: noname@inventati.org <noname@inventati.org>
Date: Tue, 21 Apr 2015 22:09:49 +0200
Do not set terminal title based on stty arguments.
Diffstat:
M st.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git 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, "");