Skip to content

Commit f9e21b4

Browse files
committed
feat(wezterm): add smart_workspace_switcher wezterm.on() events
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
1 parent 79448e4 commit f9e21b4

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

lua/wezterm/types/wezterm.lua

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,6 +1903,18 @@ function M.on(event, callback) end
19031903

19041904
---=================================================================================
19051905

1906+
---===================== smart_workspace_switcher.wezterm ==========================
1907+
1908+
---@param event "smart_workspace_switcher.workspace_switcher.chosen"
1909+
---@param callback fun(window: MuxWindow, workspace: string)
1910+
function M.on(event, callback) end
1911+
1912+
---@param event "smart_workspace_switcher.workspace_switcher.created"
1913+
---@param callback fun(window: MuxWindow, workspace: string)
1914+
function M.on(event, callback) end
1915+
1916+
---=================================================================================
1917+
19061918
---============================= tabsets.wezterm ===================================
19071919

19081920
---This is for `tabsets.wezterm` only!

0 commit comments

Comments
 (0)