663663--- Can be any key assignment action.
664664---
665665--- For more information, see:
666- --- - [`KeyAssignmentLiterals`](lua://KeyAssignmentLiterals)
667- --- - [`Actions`](lua://Actions)
666+ --- - [`Action`](lua://Action)
668667---
669- --- @field action KeyAssignmentLiterals | Actions
668+ --- @field action Action
670669--- **(OPTIONAL)** Nerd Fonts glyph name to use for the icon for the entry.
671670---
672671--- For a list of icon names, see:
714713--- @field wezterm_version ? string
715714--- @field aliases ? string[]
716715
717- --- @alias ActionCallback fun ( win : Window , pane : Pane , ... : any ): false | KeyAssignmentLiterals | Actions | nil
716+ --- @alias ActionCallback fun ( win : Window , pane : Pane , ... : any ): any
718717
719718--- @enum (key ) CursorStyle
720719local cursor_style = {
@@ -793,7 +792,7 @@ local weight = {
793792
794793--- @class KeyBinding
795794--- @field key string
796- --- @field action KeyAssignmentLiterals | Actions
795+ --- @field action Action
797796--- @field mods ? string
798797
799798--- @class MouseEventInfo
@@ -813,7 +812,7 @@ local weight = {
813812
814813--- @class MouseBindingBase
815814--- @field event MouseEvent
816- --- @field action KeyAssignmentLiterals | Actions
815+ --- @field action Action
817816--- @field mouse_reporting ? boolean
818817--- @field alt_screen ? boolean | " Any"
819818
@@ -1577,7 +1576,7 @@ function Wezterm.on(event, callback) end
15771576--- This is the `+` button that is drawn to the right of the last tab.
15781577---
15791578--- @param event " new-tab-button-click"
1580- --- @param callback fun ( window : Window , pane : Pane , button : " Left" | " Middle" | " Right" , default_action : KeyAssignmentLiterals | Actions )
1579+ --- @param callback fun ( window : Window , pane : Pane , button : " Left" | " Middle" | " Right" , default_action : Action )
15811580function Wezterm .on (event , callback ) end
15821581
15831582--- - The first event parameter is a [`Window`](lua://Window)
0 commit comments