Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Consider all terminal when searching for words

Kirill Bulatov6ed7820f7ca2
diff --git a/crates/terminal/src/terminal.rs b/crates/terminal/src/terminal.rs
index 438224c81ef..450ca35b449 100644
--- a/crates/terminal/src/terminal.rs
+++ b/crates/terminal/src/terminal.rs
@@ -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() {