mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-23 08:33:17 +01:00
Don't turn on modifyOtherKeys by default, it is annoying if tmux is
killed and it's left on and we can't turn it on and off like we do for attributes. It's not hard to enable in .Xresources or .Xdefaults anyway.
This commit is contained in:
parent
2eb6d6e31b
commit
f52eac6225
3
tty.c
3
tty.c
@ -224,7 +224,7 @@ tty_start_tty(struct tty *tty)
|
|||||||
tty->flags |= TTY_FOCUS;
|
tty->flags |= TTY_FOCUS;
|
||||||
tty_puts(tty, "\033[?1004h");
|
tty_puts(tty, "\033[?1004h");
|
||||||
}
|
}
|
||||||
tty_puts(tty, "\033[c\033[>4;1m\033[m");
|
tty_puts(tty, "\033[c");
|
||||||
}
|
}
|
||||||
|
|
||||||
tty->cx = UINT_MAX;
|
tty->cx = UINT_MAX;
|
||||||
@ -292,7 +292,6 @@ tty_stop_tty(struct tty *tty)
|
|||||||
tty->flags &= ~TTY_FOCUS;
|
tty->flags &= ~TTY_FOCUS;
|
||||||
tty_puts(tty, "\033[?1004l");
|
tty_puts(tty, "\033[?1004l");
|
||||||
}
|
}
|
||||||
tty_raw(tty, "\033[>4m\033[m");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tty_raw(tty, tty_term_string(tty->term, TTYC_RMCUP));
|
tty_raw(tty, tty_term_string(tty->term, TTYC_RMCUP));
|
||||||
|
Loading…
Reference in New Issue
Block a user