mirror of
https://github.com/wez/wezterm.git
synced 2024-11-22 22:42:48 +03:00
termwiz: fix partial bracketed paste panic
This commit is contained in:
parent
28baf56a6e
commit
59425237bc
@ -1276,7 +1276,7 @@ impl InputParser {
|
||||
callback(InputEvent::Paste(pasted));
|
||||
self.state = InputState::Normal;
|
||||
} else {
|
||||
self.state = InputState::Pasting(self.buf.len() - end_paste.len());
|
||||
self.state = InputState::Pasting(0);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user