diff options
author | nicm <nicm> | 2020-05-22 15:08:38 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-05-22 15:08:38 +0000 |
commit | a06a0e13921955aaf7e772ee83a7280720a2f03a (patch) | |
tree | c3f5344f6829edd1a0e80d95fd10598dda4601a1 | |
parent | 9a0763c3a06e589bd5d27046655603faea8c667f (diff) | |
download | rtmux-a06a0e13921955aaf7e772ee83a7280720a2f03a.tar.gz rtmux-a06a0e13921955aaf7e772ee83a7280720a2f03a.tar.bz2 rtmux-a06a0e13921955aaf7e772ee83a7280720a2f03a.zip |
xterm* can have focus too.
-rw-r--r-- | options-table.c | 2 | ||||
-rw-r--r-- | tty.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/options-table.c b/options-table.c index 87670b12..54bdadba 100644 --- a/options-table.c +++ b/options-table.c @@ -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 " @@ -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"); } |