Skip to content

pane:get_semantic_zones([zone_type])

Since: Version 20230320-124340-559cb7b0

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

When zone_type is omitted, returns the list of all semantic zones defined in the pane.

When zone_type is supplied, returns the list of all semantic zones of the matching type.

Value values for zone_type are:

  • "Prompt"
  • "Input"
  • "Output"

See Shell Integration for more information about semantic zones.