diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-15 18:13:08 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-15 18:13:08 +0300 |
| commit | 9805e23a1225f74bb955b703c9457fdcff1bc952 (patch) | |
| tree | a8b676eb46a5307b6bfc990ca6d7ff5b11d1c284 /docs | |
| parent | 0099c10881fd05ddecd3b535700d41eb3f42b633 (diff) | |
docs: note plugin link handlers use ctrl-click on macos too
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/next/website/src/content/docs/plugins.mdx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/next/website/src/content/docs/plugins.mdx b/docs/next/website/src/content/docs/plugins.mdx index e892fd01..5dcd50ab 100644 --- a/docs/next/website/src/content/docs/plugins.mdx +++ b/docs/next/website/src/content/docs/plugins.mdx @@ -267,8 +267,10 @@ description = "apply layout" Use `[[link_handlers]]` to route modified clicks on matching terminal URLs to a plugin action instead of opening the URL in the browser. The modified-click -modifier is Control on Linux and Windows, and Command/Super on macOS. `pattern` -is a Rust regular expression matched against the clicked URL, and `action` must +modifier is Control on every platform, including macOS, because captured +terminal mouse reports do not expose Command/Super separately from a plain +click. `pattern` is a Rust regular expression matched against the clicked URL, +and `action` must name an action declared by the same plugin. Link handler actions receive `invocation_source = "link_click"`, `clicked_url`, and `link_handler_id` in `HERDR_PLUGIN_CONTEXT_JSON`; shell plugins can also read |
