mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-19 10:16:12 +03:00
Surface: use rect selection state when setting selection on release
Looks like 52354b8 missed noting the outgoing screen selection state's rectangle flag when setting the selection on mouse release, this was causing the selection that was actually set to be standard/wrap-selected. This corrects that by just shipping said flag when calling setSelection.
This commit is contained in:
@ -3341,7 +3341,7 @@ pub fn mouseButtonCallback(
|
|||||||
try self.setSelection(terminal.Selection.init(
|
try self.setSelection(terminal.Selection.init(
|
||||||
prev.start(),
|
prev.start(),
|
||||||
prev.end(),
|
prev.end(),
|
||||||
false,
|
prev.rectangle,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user