curses.ffi vocabulary
Factor handbook ยป Vocabulary index


Summary

Metadata
Platforms:unix


Words

Tuple classes
ClassSuperclassSlots
MEVENT struct
WINDOW struct
cchar_t struct
pdat struct


Symbol words
NCURSES_SIZE_T
SCREEN
attr_t
chtype
mmask_t
va_list
wchar_t


Ordinary words
WordStack effect
CCHARW_MAX( -- value )
COLORS( -- value )
COLOR_PAIR( n -- n' )
COLOR_PAIRS( -- value )
ERR( -- value )
FALSE( -- value )
NCURSES_BUTTON_CLICKED( -- value )
NCURSES_BUTTON_PRESSED( -- value )
NCURSES_BUTTON_RELEASED( -- value )
NCURSES_DOUBLE_CLICKED( -- value )
NCURSES_MOUSE_MASK( b m -- mask )
NCURSES_RESERVED_EVENT( -- value )
NCURSES_TRIPLE_CLICKED( -- value )
TRUE( -- value )
addnstr( str n -- int )
addstr( str -- int )
box( win verch horch -- int )
can_change_color( -- bool )
cbreak( -- int )
clear( -- int )
clearok( win bf -- int )
clrtobot( -- int )
clrtoeol( -- int )
color_content( color r g b -- int )
curs_set( visibility -- int )
def_prog_mode( -- int )
def_shell_mode( -- int )
delch( -- int )
deleteln( -- int )
delscreen( sp -- )
delwin( win -- int )
derwin( orig nlines ncols begin_y begin_x -- WINDOW* )
doupdate( -- int )
dupwin( win -- WINDOW* )
echo( -- int )
endwin( -- int )
erase( -- int )
getch( -- int )
getmouse( event -- int )
getnstr( str n -- int )
getstr( str -- int )
halfdelay( tenths -- int )
has_colors( -- bool )
has_key( ch -- int )
idcok( win bf -- )
idlok( win bf -- int )
immedok( win bf -- )
init_color( color r g b -- int )
init_pair( pair f b -- int )
initscr( -- WINDOW* )
insch( ch -- int )
insdelln( n -- int )
insertln( -- int )
intrflush( win bf -- int )
is_linetouched( win line -- bool )
is_term_resized( lines columns -- bool )
is_wintouched( win -- bool )
isendwin( -- bool )
keypad( win bf -- int )
leaveok( win bf -- int )
meta( win bf -- int )
mouse_trafo( pY pX to_screen -- bool )
mouseinterval( erval -- int )
mousemask( newmask oldmask -- mmask_t )
move( y x -- int )
mvaddnstr( y x str n -- int )
mvaddstr( y x str -- int )
mvcur( oldrow oldcol newrow newcol -- int )
mvdelch( y x -- int )
mvderwin( win par_y par_x -- int )
mvgetch( y x -- int )
mvgetnstr( y x str n -- int )
mvgetstr( y x str -- int )
mvinsch( y x ch -- int )
mvprintw( y x fmt lol -- int )
mvwaddnstr( win y x str n -- int )
mvwaddstr( win y x str -- int )
mvwdelch( win y x -- int )
mvwgetch( win y x -- int )
mvwgetnstr( win y x str n -- int )
mvwgetstr( win y x str -- int )
mvwin( win y x -- int )
mvwinsch( win y x ch -- int )
mvwprintw( win y x fmt lol -- int )
napms( ms -- int )
newterm( type outfd infd -- SCREEN* )
newwin( nlines ncols begin_y begin_x -- WINDOW* )
nl( -- int )
nocbreak( -- int )
nodelay( win bf -- int )
noecho( -- int )
nonl( -- int )
noqiflush( -- )
noraw( -- int )
notimeout( win bf -- int )
pair_content( pair f b -- int )
printw( fmt lol -- int )
qiflush( -- )
raw( -- int )
redrawwin( win -- int )
refresh( -- int )
reset_prog_mode( -- int )
reset_shell_mode( -- int )
resetty( -- int )
resize_term( lines columns -- int )
resizeterm( lines columns -- int )
ripoffline( line callback -- int )
savetty( -- int )
scrl( n -- int )
scroll( win -- int )
scrollok( win bf -- int )
set-COLORS( obj -- )
set-COLOR_PAIRS( obj -- )
set-stdscr( obj -- )
set_term( new -- SCREEN* )
setscrreg( top bot -- int )
start_color( -- int )
stdscr( -- value )
subwin( orig nlines ncols begin_y begin_x -- WINDOW* )
syncok( win bf -- int )
timeout( delay -- )
touchline( win start count -- int )
touchwin( win -- int )
typeahead( fd -- int )
ungetch( ch -- int )
ungetmouse( event -- int )
untouchwin( win -- int )
vw_printw( win fmt varglist -- int )
vwprintw( win fmt varglist -- int )
waddch( win ch -- int )
waddnstr( win str n -- int )
waddstr( win str -- int )
wattroff( win attrs -- int )
wattron( win attrs -- int )
wattrset( win attrs -- int )
wborder( win ls rs ts bs tl tr bl br -- int )
wclear( win -- int )
wclrtobot( win -- int )
wclrtoeol( win -- int )
wcolor_set( win color_pair_number opts -- int )
wcursyncup( win -- )
wdelch( win -- int )
wdeleteln( win -- int )
wenclose( win y x -- bool )
werase( win -- int )
wgetch( win -- int )
wgetnstr( win str n -- int )
wgetstr( win str -- int )
whline( win ch n -- int )
winsch( win ch -- int )
winsdelln( win n -- int )
winsertln( win -- int )
wmouse_trafo( win pY pX to_screen -- bool )
wmove( win y x -- int )
wnoutrefresh( win -- int )
wprintw( win fmt lol -- int )
wredrawln( win beg_line num_lines -- int )
wrefresh( win -- int )
wscrl( win n -- int )
wsetscrreg( win top bot -- int )
wsyncdown( win -- )
wsyncup( win -- )
wtimeout( win delay -- )
wtouchln( win y n changed -- int )
wvline( win ch n -- int )


Class predicate words
WordStack effect
MEVENT?( object -- ? )
WINDOW?( object -- ? )
cchar_t?( object -- ? )
pdat?( object -- ? )


Files


Metadata files