diff options
Diffstat (limited to 'alacritty_terminal')
-rw-r--r-- | alacritty_terminal/src/term/search.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/alacritty_terminal/src/term/search.rs b/alacritty_terminal/src/term/search.rs index 6a31bef0..712daa92 100644 --- a/alacritty_terminal/src/term/search.rs +++ b/alacritty_terminal/src/term/search.rs @@ -87,8 +87,6 @@ impl<T> Term<T> { side: Side, max_lines: Option<usize>, ) -> Option<Match> { - // Skip origin itself to exclude it from the search results. - let origin = origin.add_absolute(self, Boundary::Wrap, 1); let start = self.line_search_left(origin); let mut end = start; @@ -128,8 +126,6 @@ impl<T> Term<T> { side: Side, max_lines: Option<usize>, ) -> Option<Match> { - // Skip origin itself to exclude it from the search results. - let origin = origin.sub_absolute(self, Boundary::Wrap, 1); let start = self.line_search_right(origin); let mut end = start; |