From c66273e91cb999ffe1e4a59ae34b1f445e217977 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 29 Nov 2023 15:25:55 -0800 Subject: [PATCH] input: better docs on links --- src/input/Link.zig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/input/Link.zig b/src/input/Link.zig index 67ba65ef0..4fb9eadcf 100644 --- a/src/input/Link.zig +++ b/src/input/Link.zig @@ -13,7 +13,9 @@ regex: []const u8, /// The action that will be triggered when the link is clicked. action: Action, -/// The situations in which the link will be highlighted. +/// The situations in which the link will be highlighted. A link is only +/// clickable by the mouse when it is highlighted, so this also controls +/// when the link is clickable. highlight: Highlight, pub const Action = union(enum) {