diff options
-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 95614502..f23e646d 100644 --- a/alacritty_terminal/src/selection.rs +++ b/alacritty_terminal/src/selection.rs @@ -338,7 +338,7 @@ impl Selection { if end.side == Side::Left && start.point != end.point { // Special case when selection ends to left of first cell if end.point.col == Column(0) { - end.point.col = num_cols; + end.point.col = num_cols - 1; end.point.line += 1; } else { end.point.col -= 1; |