mirror of
https://github.com/tmux/tmux.git
synced 2025-01-07 16:28:48 +00:00
Clear the bracket paste mode when in the command prompt.
This commit is contained in:
parent
bce1dee034
commit
55e73e3612
@ -1154,6 +1154,10 @@ server_client_reset_state(struct client *c)
|
|||||||
mode |= MODE_MOUSE_BUTTON;
|
mode |= MODE_MOUSE_BUTTON;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Clear bracketed paste mode if at the prompt. */
|
||||||
|
if (c->prompt_string != NULL)
|
||||||
|
mode &= ~MODE_BRACKETPASTE;
|
||||||
|
|
||||||
/* Set the terminal mode and reset attributes. */
|
/* Set the terminal mode and reset attributes. */
|
||||||
tty_update_mode(&c->tty, mode, s);
|
tty_update_mode(&c->tty, mode, s);
|
||||||
tty_reset(&c->tty);
|
tty_reset(&c->tty);
|
||||||
|
Loading…
Reference in New Issue
Block a user