Skip to content

domain:state()

Since: Version 20230320-124340-559cb7b0

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

Returns whether the domain is attached or not. The result is a string that is either:

  • "Attached" - the domain is attached
  • "Detached" - the domain is not attached

See also: domain:detach() and domain:detach().