1
1
mirror of https://github.com/wez/wezterm.git synced 2025-01-07 14:37:26 +03:00
wezterm/docs/config/lua/wezterm.mux/get_window.md

11 lines
396 B
Markdown
Raw Normal View History

# `wezterm.mux.get_window(WINDOW_ID)`
2022-06-25 00:58:18 +03:00
*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.