From fc48354b36b1e8e8012974ce2ea0b8c44054230e Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 12 Jul 2025 09:30:01 -0700 Subject: [PATCH] remove commented out block --- src/Surface.zig | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/Surface.zig b/src/Surface.zig index e3d813d17..e2694b62e 100644 --- a/src/Surface.zig +++ b/src/Surface.zig @@ -3677,17 +3677,6 @@ fn linkAtPos( switch (link.highlight) { .always, .hover => {}, .always_mods, .hover_mods => |v| if (!v.equal(mouse_mods)) continue, - // .always_mods, .hover_mods => |_| { - // // Special case: if the expected mods are "ctrl or super" (like the default URL config), - // // then we should match if the user pressed either ctrl or super, just like OSC8 links. - // // const is_ctrl_or_super_expected = (v.ctrl and !v.super and !v.shift and !v.alt) or - // // (v.super and !v.ctrl and !v.shift and !v.alt); - // // if (is_ctrl_or_super_expected) { - // // if (!(mouse_mods.ctrl or mouse_mods.super)) continue; - // // } else { - // // if (!v.equal(mouse_mods)) continue; - // // } - // }, } var it = strmap.searchIterator(link.regex);