1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-29 16:42:13 +03:00
wezterm/docs/config/lua/wezterm.mux/get_window.md
2023-03-20 22:54:27 -07:00

400 B

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 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.