From d45415c8bf044d8561cbf368138b822610bf85ad Mon Sep 17 00:00:00 2001 From: Raiden1411 <67233402+Raiden1411@users.noreply.github.com> Date: Sun, 5 Nov 2023 12:01:11 +0000 Subject: [PATCH] more match fixes --- src/Surface.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Surface.zig b/src/Surface.zig index 1cf536d3f..a6cf70087 100644 --- a/src/Surface.zig +++ b/src/Surface.zig @@ -1960,6 +1960,7 @@ fn dragLeftClickDouble( // Get the word under our current point. If there isn't a word, do nothing. const word = self.io.terminal.screen.selectWord(screen_point) orelse return; + // Get our selection to grow it. If we don't have a selection, start it now. // We may not have a selection if we started our dbl-click in an area // that had no data, then we dragged our mouse into an area with data. var sel = self.io.terminal.screen.selectWord(self.mouse.left_click_point) orelse {