mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
more match fixes
This commit is contained in:
@ -1960,6 +1960,7 @@ fn dragLeftClickDouble(
|
|||||||
// Get the word under our current point. If there isn't a word, do nothing.
|
// 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;
|
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
|
// 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.
|
// 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 {
|
var sel = self.io.terminal.screen.selectWord(self.mouse.left_click_point) orelse {
|
||||||
|
Reference in New Issue
Block a user