input: better docs on links

This commit is contained in:
Mitchell Hashimoto
2023-11-29 15:25:55 -08:00
parent 0938a0d638
commit c66273e91c

View File

@ -13,7 +13,9 @@ regex: []const u8,
/// The action that will be triggered when the link is clicked. /// The action that will be triggered when the link is clicked.
action: Action, 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, highlight: Highlight,
pub const Action = union(enum) { pub const Action = union(enum) {