mirror of
https://github.com/wez/wezterm.git
synced 2024-12-24 22:01:47 +03:00
fc3f6cb9ce
refs: #1190
20 lines
406 B
Markdown
20 lines
406 B
Markdown
# OpenLinkAtMouseCursor
|
|
|
|
If the current mouse cursor position is over a cell that contains
|
|
a hyperlink, this action causes that link to be opened.
|
|
|
|
```lua
|
|
local wezterm = require 'wezterm';
|
|
|
|
return {
|
|
mouse_bindings = {
|
|
-- Ctrl-click will open the link under the mouse cursor
|
|
{
|
|
event={Up={streak=1, button="Left"}},
|
|
mods="CTRL",
|
|
action="OpenLinkAtMouseCursor",
|
|
},
|
|
},
|
|
}
|
|
```
|