abstract class TUI::Backend

Overview

Backends must create a fiber that loops infinitely to send events to channel

Direct Known Subclasses

Defined in:

tui/backend.cr

Constant Summary

DEFAULT = NCurses

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

abstract def clear : self #

[View source]
abstract def draw(cell : TUI::Cell, x : Int32, y : Int32) : self #

[View source]
abstract def height : Int32 #

[View source]
def paint(painter : TUI::Painter) #

[View source]
def poll : TUI::Event #

[View source]
abstract def refresh : self #

[View source]
abstract def start : self #

[View source]
def started : Bool #

[View source]
abstract def stop : self #

[View source]
def title=(str : String) #

XTerm compatible


[View source]
abstract def width : Int32 #

[View source]