VT::DSL
src/vt/dsl.cr Provides macros for declarative routing of ANSI sequences based on their final character and intermediates.
Macros
on_csi(chars, intermediates = nil, &block)
Matches a CSI dispatch event by evaluating the final char and optional
intermediates. If they match, the block is executed.
on_dcs(chars, intermediates = nil, &block)
Matches a DCS hook event by evaluating the final char and optional
intermediates. If they match, the block is executed.