Skip to content

Commit b0a1e98

Browse files
fix(events): make new-tab-button-click event default_action optional
1 parent 01aa2c2 commit b0a1e98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/wezterm/types/wezterm.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1697,7 +1697,7 @@ function M.on(event, callback) end
16971697
--- - [`Window`](lua://Window)
16981698
---
16991699
---@param event "new-tab-button-click"
1700-
---@param callback fun(window: Window, pane: Pane, button: "Left"|"Middle"|"Right", default_action: Action): false|nil
1700+
---@param callback fun(window: Window, pane: Pane, button: "Left"|"Middle"|"Right", default_action?: Action): false|nil
17011701
function M.on(event, callback) end
17021702

17031703
--- - The first event parameter is a `Window` object that represents the GUI window

0 commit comments

Comments
 (0)