diff options
author | Christian Duerr <contact@christianduerr.com> | 2021-05-01 14:24:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-01 14:24:03 +0000 |
commit | 68bb16274025984dceca95662cb748792fa1297f (patch) | |
tree | 5c436b3f264e70d09edf18fb15c134c066494064 /alacritty_terminal/src/selection.rs | |
parent | 57bb7de06b8efff7f7978c3443c31177c2191fa8 (diff) | |
download | alacritty-68bb16274025984dceca95662cb748792fa1297f.tar.gz alacritty-68bb16274025984dceca95662cb748792fa1297f.zip |
Fix single column block selection
Fixes #5039.
Diffstat (limited to 'alacritty_terminal/src/selection.rs')
-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) }, |