diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-03-21 00:47:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-21 03:47:52 +0300 |
commit | ba05e505d51d273a92795adbac9bac5c3d888aaf (patch) | |
tree | 1b662ec524b6b45ffb810dcf51572d705178a20d /alacritty_terminal/src/grid | |
parent | 3d7a789fd344370d18a3da0d1f799959e51f8229 (diff) | |
download | alacritty-ba05e505d51d273a92795adbac9bac5c3d888aaf.tar.gz alacritty-ba05e505d51d273a92795adbac9bac5c3d888aaf.zip |
Fix invisible selection
This resolves a bug where the very first/last cell would still be
selected when both the start and the end were below/above the viewport.
Diffstat (limited to 'alacritty_terminal/src/grid')
-rw-r--r-- | alacritty_terminal/src/grid/mod.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/alacritty_terminal/src/grid/mod.rs b/alacritty_terminal/src/grid/mod.rs index 37cf0eb6..85d1a0bb 100644 --- a/alacritty_terminal/src/grid/mod.rs +++ b/alacritty_terminal/src/grid/mod.rs @@ -651,11 +651,6 @@ impl<T> Grid<T> { } #[inline] - pub fn contains(&self, point: &Point) -> bool { - self.lines > point.line && self.cols > point.col - } - - #[inline] pub fn display_offset(&self) -> usize { self.display_offset } |