mirror of
https://github.com/tmux/tmux.git
synced 2025-04-28 16:40:36 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
41a01fc629
@ -427,6 +427,8 @@ options_match(const char *s, int *idx, int* ambiguous)
|
||||
size_t namelen;
|
||||
|
||||
name = options_parse(s, idx);
|
||||
if (name == NULL)
|
||||
return (NULL);
|
||||
namelen = strlen(name);
|
||||
|
||||
if (*name == '@') {
|
||||
|
8
tty.c
8
tty.c
@ -235,7 +235,7 @@ tty_start_tty(struct tty *tty)
|
||||
|
||||
tty_putcode(tty, TTYC_SMCUP);
|
||||
|
||||
tty_putcode(tty, TTYC_RMKX);
|
||||
tty_putcode(tty, TTYC_SMKX);
|
||||
if (tty_use_acs(tty))
|
||||
tty_putcode(tty, TTYC_ENACS);
|
||||
tty_putcode(tty, TTYC_CLEAR);
|
||||
@ -573,12 +573,6 @@ tty_update_mode(struct tty *tty, int mode, struct screen *s)
|
||||
tty_puts(tty, "\033[?1006l");
|
||||
}
|
||||
}
|
||||
if (changed & MODE_KKEYPAD) {
|
||||
if (mode & MODE_KKEYPAD)
|
||||
tty_putcode(tty, TTYC_SMKX);
|
||||
else
|
||||
tty_putcode(tty, TTYC_RMKX);
|
||||
}
|
||||
if (changed & MODE_BRACKETPASTE) {
|
||||
if (mode & MODE_BRACKETPASTE)
|
||||
tty_puts(tty, "\033[?2004h");
|
||||
|
Loading…
Reference in New Issue
Block a user