mirror of
https://github.com/wez/wezterm.git
synced 2024-12-26 14:54:16 +03:00
e0ea0f46a8
refs: https://github.com/wez/wezterm/pull/2273 refs: https://github.com/wez/wezterm/issues/2253
434 B
434 B
OpenLinkAtMouseCursor
If the current mouse cursor position is over a cell that contains a hyperlink, this action causes that link to be opened.
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 = wezterm.action.OpenLinkAtMouseCursor,
},
},
}