diff options
author | Christian Duerr <contact@christianduerr.com> | 2021-05-01 14:24:03 +0000 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2021-05-01 17:30:49 +0000 |
commit | 31fa791dc37d3a5716f24339effa2f3af00dc586 (patch) | |
tree | 5e4cec688d99baefa6019bdd4411f4af007c5e1e | |
parent | d434fbb82e1650db7f51427357a86381ef4fa107 (diff) | |
download | alacritty-31fa791dc37d3a5716f24339effa2f3af00dc586.tar.gz alacritty-31fa791dc37d3a5716f24339effa2f3af00dc586.zip |
Fix single column block selection
Fixes #5039.
-rw-r--r-- | alacritty_terminal/src/selection.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty_terminal/src/selection.rs b/alacritty_terminal/src/selection.rs index 95c19be4..e1ae7ed0 100644 --- a/alacritty_terminal/src/selection.rs +++ b/alacritty_terminal/src/selection.rs @@ -248,7 +248,7 @@ impl Selection { let (start_side, end_side) = match self.ty { SelectionType::Block if start.column > end.column - || (start.column == end.column && start.line < end.line) => + || (start.column == end.column && start.line > end.line) => { (Side::Right, Side::Left) }, |