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_tab.md
2023-03-20 22:54:27 -07:00

376 B

wezterm.mux.get_tab(WINDOW_ID)

{{since('20220624-141144-bd1b7c5d')}}

Given a tab ID, verifies that the ID is a valid tab known to the mux and returns a MuxTab object that can be used to operate on the tab.

This is useful for situations where you have obtained a tab id from some other source and want to use the various MuxTab methods with it.