Skip to content

ToggleAlwaysOnTop

Since: Version 20240127-113634-bbcac864

The functionality described in this section requires version 20240127-113634-bbcac864 of wezterm, or a more recent version.

Toggles the window between floating and non-floating states to stay on top of other windows.

config.keys = {
  {
    key = ']',
    mods = 'CMD|SHIFT',
    action = wezterm.action.ToggleAlwaysOnTop,
  },
}

Note

This functionality is currently only implemented on macOS. The assigned values for window level will have no effect on other operating systems.