1
1
mirror of https://github.com/wez/wezterm.git synced 2025-01-01 18:22:13 +03:00
wezterm/docs/config/lua/wezterm.mux/get_window.md
2022-07-06 16:02:29 -07:00

11 lines
396 B
Markdown

# `wezterm.mux.get_window(WINDOW_ID)`
*Since: 20220624-141144-bd1b7c5d*
Given a window ID, verifies that the ID is a valid window known to the mux
and returns a [MuxWindow](../mux-window/index.md) object that can be used to
operate on the window.
This is useful for situations where you have obtained a window id from
some other source and want to use the various `MuxWindow` methods with it.