Skip to content

wezterm.mux.rename_workspace(old, new)

Since: Version 20230408-112425-69ae8472

The functionality described in this section requires version 20230408-112425-69ae8472 of wezterm, or a more recent version.

Renames the workspace old to new.

local wezterm = require 'wezterm'
local active = wezterm.mux.get_active_workspace()

wezterm.mux.rename_workspace(active, 'something different')