core: clicking OSC8 links work

This commit is contained in:
Mitchell Hashimoto
2024-07-04 15:08:29 -07:00
parent 961a4b6b31
commit f8fe0445a5
2 changed files with 37 additions and 7 deletions

View File

@@ -23,6 +23,10 @@ pub const Action = union(enum) {
/// Open the full matched value using the default open program.
/// For example, on macOS this is "open" and on Linux this is "xdg-open".
open: void,
/// Open the OSC8 hyperlink under the mouse position. _-prefixed means
/// this can't be user-specified, it's only used internally.
_open_osc8: void,
};
pub const Highlight = union(enum) {