window:active_workspace()
¶
Since: Version 20220319-142410-0fcdea07
The functionality described in this section requires version 20220319-142410-0fcdea07 of wezterm, or a more recent version.
Returns the name of the active workspace.
This example demonstrates using the launcher menu to select and create workspaces, and how the workspace can be shown in the right status area.