window:active_pane()
¶
Since: Version 20221119-145034-49b9839f
The functionality described in this section requires version 20221119-145034-49b9839f of wezterm, or a more recent version.
A convenience accessor for returning the active pane in the active tab of the GUI window.
This is similar to mux_window:active_pane() but, because it operates at the GUI layer, it can return Pane objects for special overlay panes that are not visible to the mux layer of the API.