module NCurses

Extended Modules

Defined in:

ncurses.cr
ncurses/version.cr
ncurses/window.cr

Constant Summary

BLACK = 0

Default colors

BLUE = 4
CYAN = 6
ERR = -1

Possible integer result values

GREEN = 2
MAGENTA = 5
OK = 0
RED = 1
VERSION = "0.1.0"
WHITE = 7
YELLOW = 3

Instance Method Summary

Instance Method Detail

def addstr(str) #

[View source]
def can_change_color? #

[View source]
def cbreak #

[View source]
def clear #

[View source]
def color_pairs #

[View source]
def colors #

[View source]
def cols #

[View source]
def crmode #

[View source]
def curs_set(visibility) #

[View source]
def end_win #

[View source]
def has_colors? #

[View source]
def init #

[View source]
def init_color(slot, red, green, blue) #

[View source]
def init_color_pair(slot, foreground, background) #

[View source]
def lines #

[View source]
def mouse_mask(new_mask : UInt64, old_mask : Pointer(UInt64)) : UInt64 #

[View source]
def move(x, y) #

[View source]
def new_term(terminal, out_io, in_io) #

[View source]
def no_echo #

[View source]
def nocbreak #

[View source]
def nocrmode #

[View source]
def raw #

[View source]
def refresh #

[View source]
def setpos(x, y) #

[View source]
def start_color #

[View source]
def stdscr #

[View source]
def term=(screen) #

[View source]