Skip to content

domain:has_any_panes()

Since: Version 20230320-124340-559cb7b0

The functionality described in this section requires version 20230320-124340-559cb7b0 of wezterm, or a more recent version.

Returns true if the mux has any panes that belong to this domain.

This can be useful when deciding whether to spawn additional panes after attaching to a domain.