* lua: fixed markdown lists not rendering correctly in webpage * unicode_version: fixed typo in markdown file * visual_bell: fixed typo in documentation * load_base16_scheme: added comma for redaction, etc. * truncate_right: corrected improper punctuation * mux: improved Lua snippet in `rename_workspace` * wezterm.color.save_scheme: improved docs * wezterm.plugin: improved every function's docs * visual_bell: added missing code enclosures --------- Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
278 B
278 B
wezterm.mux.rename_workspace(old, new)
{{since('20230408-112425-69ae8472')}}
Renames the workspace old to new.
local wezterm = require 'wezterm'
local active = wezterm.mux.get_active_workspace()
wezterm.mux.rename_workspace(active, 'something different')