Skip to content

window:set_position(x, y)

Since: Version 20220807-113146-c2fee766

The functionality described in this section requires version 20220807-113146-c2fee766 of wezterm, or a more recent version.

Repositions the top-left corner of the window to the specified x, y coordinates.

Note that Wayland does not allow applications to directly control their window placement, so this method has no effect on Wayland.