struct

Ansi::Handler

Inherits Struct < Value < Object

Constructors

new(print : Proc(Char, Nil) | Nil = nil, execute : Proc(UInt8, Nil) | Nil = nil, handle_csi : Proc(Cmd, Params, Nil) | Nil = nil, handle_esc : Proc(Cmd, Nil) | Nil = nil, handle_dcs : Proc(Cmd, Params, Bytes, Nil) | Nil = nil, handle_osc : Proc(Int32, Bytes, Nil) | Nil = nil, handle_pm : Proc(Bytes, Nil) | Nil = nil, handle_apc : Proc(Bytes, Nil) | Nil = nil, handle_sos : Proc(Bytes, Nil) | Nil = nil)
Source

Instance methods

execute
Source
execute=(execute : Proc(UInt8, Nil) | Nil)
Source
handle_apc
Source
handle_apc=(handle_apc : Proc(Bytes, Nil) | Nil)
Source
handle_csi
Source
handle_csi=(handle_csi : Proc(Cmd, Params, Nil) | Nil)
Source
handle_dcs
Source
handle_dcs=(handle_dcs : Proc(Cmd, Params, Bytes, Nil) | Nil)
Source
handle_esc
Source
handle_esc=(handle_esc : Proc(Cmd, Nil) | Nil)
Source
handle_osc
Source
handle_osc=(handle_osc : Proc(Int32, Bytes, Nil) | Nil)
Source
handle_pm
Source
handle_pm=(handle_pm : Proc(Bytes, Nil) | Nil)
Source
handle_sos
Source
handle_sos=(handle_sos : Proc(Bytes, Nil) | Nil)
Source