mirror of
https://github.com/tmate-io/tmate.git
synced 2025-07-15 21:44:57 +02: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:
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));
|
||||||
|
Reference in New Issue
Block a user