mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
core: remove incorrect std.meta.eql on selection
This commit is contained in:
@ -1065,7 +1065,7 @@ fn setSelection(self: *Surface, sel_: ?terminal.Selection) !void {
|
|||||||
// again if it changed, since setting the clipboard can be an expensive
|
// again if it changed, since setting the clipboard can be an expensive
|
||||||
// operation.
|
// operation.
|
||||||
const sel = sel_ orelse return;
|
const sel = sel_ orelse return;
|
||||||
if (prev_) |prev| if (std.meta.eql(sel, prev)) return;
|
if (prev_) |prev| if (sel.eql(prev)) return;
|
||||||
|
|
||||||
// Check if our runtime supports the selection clipboard at all.
|
// Check if our runtime supports the selection clipboard at all.
|
||||||
// We can save a lot of work if it doesn't.
|
// We can save a lot of work if it doesn't.
|
||||||
|
Reference in New Issue
Block a user