class TerminalRender::Screen

Defined in:

render/terminal.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Object

to_sban(io : IO)
to_sban(encoder : SBAN::Encoder)
to_sban : Bytes
to_sban

Class methods inherited from class Object

from_sban(string_or_io) from_sban

Constructor Detail

def self.new(title : String) #

[View source]

Class Method Detail

def self.accent_color #

[View source]
def self.focus_accent_color : String #

[View source]
def self.page_height : UInt16 #

[View source]
def self.page_width : UInt16 #

[View source]

Instance Method Detail

def add_page(render render_page : Bool = false) #

[View source]
def alive : Bool #

[View source]
def exit! #

[View source]
def extra_line : String | Nil #

[View source]
def extra_line=(text : String | Nil) #

[View source]
def last #

[View source]
def last=(new_page : Canvas) #

[View source]
def last? #

[View source]
def move_focus(difference : Int, render render_page : Bool = true) #

[View source]
def page #

[View source]
def pages : Deque(Canvas) #

[View source]
def render_extra_line(text : String | Nil, focus : Bool = false) #

[View source]
def render_extra_line #

[View source]
def set_focus(new_focus : UInt8, render render_page : Bool = true) #

[View source]
def sidebar : Sidebar #

[View source]
def sidebar=(strings : Indexable(String)) #

[View source]
def write(text : String, newlines : Int32 = 0, nonbreaking : Bool = false) #

[View source]