|
current_item(3) -- set and get current_menu_item
|
The function set_current_item sets the current item (the item on which the menu cursor is positioned). cur- rent_item returns a pointer to the current item in the given menu. The function set_top_row ... |
curses(3) -- CRT screen handling and optimization package
|
The curses library routines give the user a terminal-independent method of updating character screens with reasonable optimization. This implementation is ``new curses'' (ncurses) and is the approve... |
curses_version(3) -- miscellaneous curses extensions
|
These functions are extensions to the curses library which do not fit easily into other categories. Use curses_version() to get the version number, including patch level of the library, e.g., 5.0.1999... |
curs_addch(3) -- add a character (with attributes) to a curses window, then advance the cursor
|
The addch, waddch, mvaddch and mvwaddch routines put the character ch into the given window at its current window position, which is then advanced. They are analogous to putchar in stdio(3). If the ad... |
curs_addchstr(3) -- add a string of characters (and attributes) to a curses window
|
These routines copy chstr into the window image structure at and after the current cursor position. The four routines with n as the last argument copy at most n elements, but no more than will fit on ... |
curs_addstr(3) -- add a string of characters to a curses window and advance cursor
|
These routines write the characters of the (null-terminated) character string str on the given window. It is similar to calling waddch once for each character in the string. The four routines with n a... |
curs_attr(3) -- curses character and window attribute control routines
|
These routines manipulate the current attributes of the named window. The current attributes of a window apply to all characters that are written into the window with wad- dch, waddstr and wprintw. At... |
curs_beep(3) -- curses bell and screen flash routines
|
The beep and flash routines are used to alert the terminal user. The routine beep sounds an audible alarm on the terminal, if possible; otherwise it flashes the screen (visible bell). The routine flas... |
curs_bkgd(3) -- curses window background manipulation routines
|
The bkgdset and wbkgdset routines manipulate the background of the named window. The window background is a chtype consisting of any combination of attributes (i.e., rendition) and a character. The at... |
curs_border(3) -- create curses borders, horizontal and vertical lines
|
The border, wborder and box routines draw a box around the edges of a window. The argument ls is a character and attributes used for the left side of the border, rs - right side, ts - top side, bs - b... |
curs_clear(3) -- clear all or part of a curses window
|
The erase and werase routines copy blanks to every position in the window, clearing the screen. The clear and wclear routines are like erase and werase, but they also call clearok, so that the screen ... |
curs_color(3) -- curses color manipulation routines
|
Overview curses support color attributes on terminals with that capability. To use these routines start_color must be called, usually right after initscr. Colors are always used in pairs (referred to ... |
curs_delch(3) -- delete character under the cursor in a curses window
|
These routines delete the character under the cursor; all characters to the right of the cursor on the same line are moved to the left one position and the last character on the line is filled with a ... |