Skip to content

Documentation / @ripl/terminal / TERMINAL_COMMAND_HANDLERS

Variable: TERMINAL_COMMAND_HANDLERS ​

const TERMINAL_COMMAND_HANDLERS: Record<TerminalPathCommandType, TerminalCommandHandler>

Defined in: terminal/src/commands.ts:108

Dispatch table keyed by path command type, driving both rendering passes.

Points are mapped through the composite TerminalTransform rather than a per-axis scale, so a rotated or skewed transform survives. An affine map takes a bezier to a bezier, so those commands transform their control points and flatten as before; arcs and ellipses are sampled in logical space and mapped point by point, because an affine map takes a circle to an ellipse.