mirror of
https://github.com/alacritty/alacritty.git
synced 2026-12-04 02:20:10 +03:00
Fix invalid bounds in selection range conversion
This commit is contained in:
1 parent
b48ab148ff
commit
ee4fcc8801
1 file changed
+1
@@ -285,6 +285,7 @@ impl Selection {
|
||||
return None;
|
||||
}
|
||||
start.point = start.point.grid_clamp(term, Boundary::Grid);
|
||||
end.point = end.point.grid_clamp(term, Boundary::Grid);
|
||||
|
||||
match self.ty {
|
||||
SelectionType::Simple => self.range_simple(start, end, columns),
|
||||
|
||||
Reference in new issue
Block a user