mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 16:26:08 +03:00
core: mouse selection to right should include first cell if past
boundary
This commit is contained in:
@ -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{
|
||||||
|
Reference in New Issue
Block a user