Crate ncursesw[][src]

Modules

Extended color’s, color pairs and attributes module

Normal color’s, color pairs and attributes module

ncurses Panels module

ncurses API shims module

Structs

Enums

Normal and extended attributes and color pair returned by ncurses functions.

One of the 8 base colors.

Make a line look like it’s been touched since last wrefresh, used by wtouchln.

Cursor type.

Keys returned by ncurses get functions.

The color type that ncursesw is running under. by default it will be ColorType::Normal until a ColorPair structure is generated.

NCursesw Errors/Events.

The screen region (top or bottom) to rip a line off.

The soft-label layout type

Traits

Functions

Return the number of colors available.

Return the attribute value of a given normal color pair.

Return the number of color pairs available.

Return the number of columns (x-axis) available on the terminal.

Return the delay used to interpret termianl keyboard escape sequences.

Return the number of lines (y-axis) available on the terminal.

Return the color pair from given normal attributes value.

Return the number of columns a tab represents on the terminal.

Add/Output a complex character to the standard screen.

Add/Output a complex character string of a given length to the standard screen.

Add/Output a complex character string to the standard screen.

Add/Output a ascii character and normal attribute/color pair combination to the standard screen.

Add/Output a ascii character string and normal attribute/color pair combination of a given length to the standard screen.

Add/Output a ascii character string and normal attribute/color pair combination to the standard screen.

Add/Output a character string of a given length to the standard screen.

Add/Output a wide character unicode UTF-8 string of a given length to the standard screen.

Add/Output a character string to the standard screen.

Add/Output a wide character unicode UTF-8 string to the standard screen.

Assign the colors given as the default foreground and background colors of color pair 0

Return the current attributes and color pair on the standard screen.

Switch off the given attributes on the standard screen.

Switch on the given attributes on the standard screen.

Set the current attributes and color pair on the standard screen.

Switch off the given normal attributes on the standard screen.

Switch on the given normal attributes on the standard screen.

Set the current normal attributes and color pair on the standard screen.

Return the output speed of the terminal. The number returned is in bits per second, for example 9600.

Sounds an audible alarm on the terminal, if possible; otherwise flashes the screen (visible bell).

Set the background property on the standard screen and then apply this setting to every character position.

Manipulate the background of the standard screen.

Set the background property on the standard screen and then apply this setting to every character position in that window.

Manipulate the background on the standard screen.

Draw a box around the edges of the standard screen.

Return the raw pointer to the current screen.

Flashes the screen (visible bell), and if that is not possible, audible alarm on the terminal.

free_pairDeprecated
get_wstrDeprecated

Returns the standard screen’s current background character/attribute pair.

Returns the standard screen’s current background character/attribute pair.

getstrDeprecated
in_wchstrDeprecated
inchstrDeprecated

Initialize the NCurses data structures and return the standard screen.

Insert a wide character string (unicode UTF-8) of a given length on the standard screen.

Insert a complex character on the standard screen.

Insert a wide character string (unicode UTF-8) on the standard screen.

Insert a ascii character and normal attribute/color pair combination to the standard screen.

Insert a string of a given length on the standard screen.

Insert a string on the standard screen.

instrDeprecated
inwstrDeprecated

Add/Output a complex character to the standard screen at a given origin.

Add/Output a complex character string of a given length to the standard screen at a given origin.

Add/Output a complex character string to the standard screen at a given origin.

Add/Output a ascii character and normal attribute/color pair combination to the standard screen at a given origin.

Add/Output a ascii character string and normal attribute/color pair combination of a given length to the standard screen at a given origin.

Add/Output a ascii character string and normal attribute/color pair combination to the standard screen at a given origin.

Add/Output a character string of a given length to the standard screen at a given origin.

Add/Output a wide character unicode UTF-8 string of a given length to the standard screen at a given origin.

Add/Output a character string to the standard screen at a given origin.

Add/Output a wide character unicode UTF-8 string to the standard screen at a given origin.

mvget_wstrDeprecated
mvgetstrDeprecated
mvin_wchstrDeprecated
mvinchstrDeprecated

Insert a wide character string (unicode UTF-8) of a given length on the standard screen at a given origin.

Insert a complex character on the standard screen at the given origin.

Insert a wide character string (unicode UTF-8) on the standard screen at a given origin.

Insert a ascii character and normal attribute/color pair combination to the standard screen at a given origin.

Insert a string of a given length on the standard screen at the given origin.

Insert a string on the standard screen at the given origin.

mvinstrDeprecated
mvinwstrDeprecated

Add/Output a complex character on a given window at a given origin.

Add/Output a complex character string of a given length on a given window at a given origin.

Add/Output a complex character string on a given window at a given origin.

Add/Output a ascii character and normal attribute/color pair combination on a given window at a given origin.

Add/Output a ascii character string and normal attribute/color pair combination of a given length on a given window at a given origin.

Add/Output a ascii character string and normal attribute/color pair combination on a given window at a given origin.

Add/Output a character string of a given length to a given window at a given origin.

Add/Output a wide character unicode UTF-8 string of a given length on the given window at a given origin.

Add/Output a character string on a given window at a given origin.

Add/Output a wide character unicode UTF-8 string on the given window at a given origin.

mvwget_wstrDeprecated
mvwgetstrDeprecated
mvwin_wchstrDeprecated
mvwinchstrDeprecated

Insert a wide character string (unicode UTF-8) of a given length on the given window at a given origin.

Insert a complex character on the given window at the given origin.

Insert a wide character string (unicode UTF-8) on the given window at a given origin.

Insert a ascii character and normal attribute/color pair combination on the given window at a given origin.

Insert a string of a given length on the given window at the given origin.

Insert a string on the given window at the given origin.

mvwinstrDeprecated
mvwinwstrDeprecated

Returns the color type that ncursesw is running under. by default it will be ColorType::Normal until a ColorPair structure is generated.

Has the crates color type been set.

Return the raw pointer to the new screen.

Return the raw pointer to the standard screen.

Add/Output a complex character on a given window.

Add/Output a complex character string of a given length on a given window.

Add/Output a complex character string on a given window.

Add/Output a ascii character and normal attribute/color pair combination on a given window.

Add/Output a ascii character string and normal attribute/color pair combination of a given length on a given window.

Add/Output a ascii character string and normal attribute/color pair combination on a given window.

Add/Output a character string of a given length to a given window.

Add/Output a wide character unicode UTF-8 string of a given length on the given window.

Add/Output a character string on a given window.

Add/Output a wide character unicode UTF-8 string on the given window.

Return the current attributes and color pair on the given window.

Switch off the given attributes on the given window.

Switch on the given attributes on the given window.

Set the current attributes and color pair on the given window.

Switch off the given normal attributes on the given window.

Switch on the given normal attributes on the given window.

Set the current normal attributes and color pair on the given window.

Set the background property on the given window and then apply this setting to every character position.

Manipulate the background of the given window.

Set the background property on the given window and then apply this setting to every character position in that window.

Manipulate the background on the given window.

Draw a box around the edges of the given window.

wget_wstrDeprecated

Returns the given window’s current background character/attribute pair.

wgetstrDeprecated
win_wchstrDeprecated
winchstrDeprecated

Insert a wide character string (unicode UTF-8) of a given length on the given window.

Insert a complex character on the given window.

Insert a wide character string (unicode UTF-8) on the given window.

Insert a ascii character and normal attribute/color pair combination on the given window.

Insert a string of a given length on the given window.

Insert a string on the given window.

winstrDeprecated
winwstrDeprecated

Type Definitions

Ripoff line callback function signature.

NCurses screen raw pointer.

NCurses window raw pointer.

Raw attribute type value.