class Termisu::Terminfo::Tparm::Processor

Included Modules

Defined in:

termisu/terminfo/tparm/processor.cr

Constant Summary

INITIAL_OUTPUT_CAPACITY = 32
INITIAL_STACK_CAPACITY = 8

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(format : String, params : Array(Int64)) #

[View source]

Class Method Detail

def self.clear_static_vars #

Clears all static variables.


[View source]

Instance Method Detail

def run : String #

Executes the tparm processor and returns the formatted string.

Must be called at most once per Processor instance: the output buffer is a String::Builder, whose to_s is single-shot. Processor is single-use by design (sole call site: Tparm.process).


[View source]