ncurses library

Classes

Attributes
An OR-ed set of attributes.
Char
ColorPair
Key
Constants representing key values.
Screen
Window
An NCurses window.

Enums

Colors
Color-related constants.
CursorVisibility
The visibility of a cursor.

Extensions

PositionMacros on Window
Replacements for functionality provided by macros.

Constants

err → const int
Function return value for failure.
ok → const int
Function return value for success.
version → const String
The version of NCurses these bindings were generated for.

Properties

colorPairs int
The maximum number of colour-pairs that the terminal supports.
no setter
colors int
The number of colours that the terminal supports.
no setter
columns int
The number of columns in the current terminal.
no setter
defaultLibrary NCursesLibrary
final
defaultLibraryPath String
no setter
lines int
The number of lines in the current terminal.
no setter
meta bool
Controls whether the terminal returns 7 or 8 significant bits on input.
no getter
screen Screen
Controls the currently active screen.
no getter

Functions

dumpScreen(String filename) → void
Determines the terminal type and initialises all implementation data structures.
setTerm(Screen newScreen) Screen
Switch between different screens.

Typedefs

Position = Point<int>
A representation of a y-x pair.

Exceptions / Errors

NCursesException