Term2::Zone
Constants
IDENT_BRACKET = '['
IDENT_END = 'z'
IDENT_START = '\e'
ANSI escape sequence for zone markers Format: \x1B[<number>z
Class methods
any_in_bounds(model : M, event : MouseEvent) : Nil forall M
Call update with ZoneInBoundsMsg for any zones under the mouse.
Note: we intentionally accept any concrete model type here rather than
Model directly. Calling abstract methods on a module-typed value can
fail to compile in some contexts; using a generic receiver keeps the
dispatch concrete.
Check if any zone is in bounds for the given coordinates
clear_zones
Clear only zone geometry for a new frame, while preserving marker mappings.
This allows scan() to resolve markers embedded in the rendered frame.
close
SourceGet the smallest zone at the given coordinates (by area, then z-index)