Skip to content

window:focus()

Since: Version 20230320-124340-559cb7b0

The functionality described in this section requires version 20230320-124340-559cb7b0 of wezterm, or a more recent version.

Attempts to focus and activate the window.

OS Supported?
macOS Yes
Windows Yes
X11 Yes
Wayland Wayland does not allow this action