NCurses::Window
Inherits Reference < Object
Constants
ATTRIBUTES = [:normal, :attributes, :chartext, :color, :standout, :underline, :reverse, :blink, :dim, :bold, :altcharset, :invis, :protect, :horizontal, :left, :low, :right, :top, :vertical, :italic]
Constructors
new(window : LibNCurses::Window)
Sourcenew(height = nil, width = nil, y = 0, x = 0)
SourceInstance methods
attr_off(*attributes)
Sourceattr_on(*attributes)
Sourcebeginning_dimensions
Sourceborder(ls = '|', rs = '|', ts = '-', bs = '_', tl = '+', tr = '+', bl = '+', br = '+')
Sourcebox(x : Int32, y : Int32) : Int32
Sourceclear
Sourcecurrent_color
Sourceget_char
Sourcemax_dimensions
Sourcemove(x, y)
Sourceno_delay
Sourceno_timeout
Sourceon_input
Sourceprint(message, position = nil)
Sourcerefresh
Sourceset_color(slot : Int32 | Nil)
Sourcetimeout=(value)
Sourceto_unsafe
Sourcewith_attr(*attributes, &)
Sourcewith_color(slot, &)
Source