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
add_char(chr, position = nil)
Sourceattr_off(attributes : Array(Symbol | Nil))
Sourceattr_off(*attributes)
Sourceattr_on(attributes : Array(Symbol | Nil))
Sourceattr_on(*attributes)
Sourceclear
Sourcecurrent_background
Sourcecurrent_color
Sourceget_char
Sourcemax_dimensions
Sourcemax_x
Sourcemax_y
Sourcemove(x, y)
Sourceno_delay
Sourceno_timeout
Sourceon_input
Sourceprint(message, position = nil)
Sourcerefresh
Sourceset_background(color_pair : Int32)
Sourceset_color(slot : Int32 | Nil)
Sourcetimeout=(value)
Sourceto_unsafe
Sourcewith_attr(attributes : Array(Symbol | Nil), &)
Sourcewith_attr(*attributes, &block)
Sourcewith_color(slot, &)
Source