class Mint::Render::Terminal

Defined in:

render/terminal.cr

Constant Summary

STDOUT = Terminal.new(::STDOUT)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(io : IO = IO::Memory.new, width : Int32 = 80) #

[View source]

Class Method Detail

def self.render(&) #

[View source]

Instance Method Detail

def <<(obj) : self #

[View source]
def block(&) #

[View source]
def divider #

[View source]
def header(text) #

[View source]
def io : IO #

[View source]
def list(data) #

[View source]
def measure(message, &) #

[View source]
def position : Int32 #

[View source]
def pre(contents) #

[View source]
def print(contents : String) #

[View source]
def print(contents) #

[View source]
def puts(contents = nil) #

[View source]
def reset #

[View source]
def snippet(node : String) #

[View source]
def snippet(node : Ast::Node) #

[View source]
def snippet(type : TypeChecker::Checkable) #

[View source]
def title(text) #

[View source]
def type(contents) #

[View source]
def type_list(data) #

[View source]
def width : Int32 #

[View source]