1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-22 22:42:48 +03:00

termwiz: fix code formatting

doh!
This commit is contained in:
Wez Furlong 2022-04-07 07:39:52 -07:00
parent c9c6d869f4
commit 1bb31d78ab

View File

@ -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;
}
}