xterm* can have focus too.

pull/2270/head
nicm 2020-05-22 15:08:38 +00:00
parent 9a0763c3a0
commit a06a0e1392
2 changed files with 2 additions and 2 deletions

View File

@ -307,7 +307,7 @@ const struct options_table_entry options_table[] = {
.type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_SERVER,
.flags = OPTIONS_TABLE_IS_ARRAY,
.default_str = "xterm*:clipboard:ccolour:cstyle:title,"
.default_str = "xterm*:clipboard:ccolour:cstyle:focus:title,"
"screen*:title",
.separator = ",",
.text = "List of terminal features, used if they cannot be "

2
tty.c
View File

@ -467,7 +467,7 @@ tty_update_features(struct tty *tty)
if (options_get_number(global_options, "extended-keys"))
tty_puts(tty, tty_term_string(tty->term, TTYC_ENEKS));
if (options_get_number(global_options, "focus-events"))
tty_raw(tty, tty_term_string(tty->term, TTYC_ENFCS));
tty_puts(tty, tty_term_string(tty->term, TTYC_ENFCS));
if (tty->term->flags & TERM_VT100LIKE)
tty_puts(tty, "\033[?7727h");
}