class CryTUI::Terminal

Defined in:

crytui/terminal.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(backend : Backend) #

[View source]

Instance Method Detail

def area : Rect #

[View source]
def backend : Backend #

[View source]
def draw(& : Frame -> ) : Nil #

[View source]
def refresh_size : Bool #

[View source]
def run(input : IO::FileDescriptor, & : Terminal -> ) : Nil #

Runs with the input descriptor in raw mode and restores its exact prior termios state after normal return or an exception.


[View source]
def run(& : Terminal -> ) : Nil #

[View source]
def start : Nil #

[View source]
def stop : Nil #

[View source]