active_pane
On this page
window:active_pane()#
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.