Consider all terminal when searching for words

This commit is contained in:
Kirill Bulatov 2023-07-18 16:08:17 +03:00
parent 10db05f87f
commit 6ed7820f7c

View File

@ -838,7 +838,7 @@ impl Terminal {
self.last_content.size,
term.grid().display_offset(),
)
.grid_clamp(term, alacritty_terminal::index::Boundary::Cursor);
.grid_clamp(term, alacritty_terminal::index::Boundary::Grid);
let link = term.grid().index(point).hyperlink();
let found_word = if link.is_some() {