From 68bb16274025984dceca95662cb748792fa1297f Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Sat, 1 May 2021 14:24:03 +0000 Subject: [PATCH] Fix single column block selection Fixes #5039. --- alacritty_terminal/src/selection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) },