core: mouse selection to right should include first cell if past

boundary
This commit is contained in:
Mitchell Hashimoto
2023-10-10 09:37:11 -07:00
parent a6d3d51945
commit a234627156

View File

@ -1865,7 +1865,7 @@ fn dragLeftClickSingle(
}; };
} }
} else start: { } else start: {
if (self.mouse.left_click_xpos < cell_xboundary) { if (cell_start_xpos < cell_xboundary) {
break :start click_point; break :start click_point;
} else { } else {
break :start if (click_point.x < self.io.terminal.screen.cols - 1) terminal.point.ScreenPoint{ break :start if (click_point.x < self.io.terminal.screen.cols - 1) terminal.point.ScreenPoint{