get_semantic_zones

On this page
  1. pane:get_semantic_zones([zone_type])

pane:get_semantic_zones([zone_type])#

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.

Edit this page