mirror of
https://github.com/wez/wezterm.git
synced 2024-11-27 02:25:28 +03:00
termwiz: fix code formatting
doh!
This commit is contained in:
parent
c9c6d869f4
commit
1bb31d78ab
@ -1281,8 +1281,9 @@ impl InputParser {
|
||||
// end marker in 8K, 16K, 24K etc. of text until the final buffer is received.
|
||||
// Ensure that we use saturating math here for the case where the amount
|
||||
// of buffered data after the begin paste is smaller than the end paste marker
|
||||
// <https://github.com/wez/wezterm/pull/1832>
|
||||
self.state = InputState::Pasting(self.buf.len().saturating_sub(end_paste.len()));
|
||||
// <https://github.com/wez/wezterm/pull/1832>
|
||||
self.state =
|
||||
InputState::Pasting(self.buf.len().saturating_sub(end_paste.len()));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user