mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
fix regression around selecting word at end of screen
This commit is contained in:
@ -1124,7 +1124,7 @@ pub fn selectWord(self: *Screen, pt: point.ScreenPoint) ?Selection {
|
||||
var prev: point.ScreenPoint = pt;
|
||||
var y: usize = pt.y;
|
||||
var x: usize = pt.x;
|
||||
while (y < y_max) : (y += 1) {
|
||||
while (y <= y_max) : (y += 1) {
|
||||
const current_row = self.getRow(.{ .screen = y });
|
||||
|
||||
// Go through all the remainining cells on this row until
|
||||
|
Reference in New Issue
Block a user