class Termbuf::Display

Defined in:

termbuf.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(width : Int32 = 80, height : Int32 = 40, init_char = " ") #

[View source]

Instance Method Detail

def cell_at(xy) #

[View source]
def draw_line!(xy1, xy2, c, style = nil) #

[View source]
def draw_rectangle!(xy1, xy2, c = "\e[7m \e[0m") #

[View source]
def get_char(xy) #

[View source]
def get_style(xy) #

[View source]
def render #

[View source]
def set_char!(xy, c) #

[View source]
def set_style!(xy, style) #

[View source]