[This is preliminary documentation and is subject to change.]

The Curses type exposes the following members.

Methods

  NameDescription
AssumeDefaultColors
Changes the definition of a color-pair number 0.
Beep
Sounds an audible alarm.
COLOR_PAIR
Encodes a specified color pair into a text attribute.
ColorContent
Retrieves the intensity of the red, green and blue (RGB) components in a color.
DelayOutput
DoUpdate
EndWin
Shuts down Curses Sharp and the underlying curses implementation.
Filter
Flash
Flashes the screen.
FlushInput
Throws away any typeahead that has been typed by the user and has not yet been read by the program.
GetCursorYX
GetMouseOverloaded.
HalfDelayMode
Sets half-delay mode.
HasKey
Checks if the terminal recognizes a key.
InitColor
Changes the definition of a color.
InitPair
Changes the definition of a color-pair.
InitScr
Initializes Curses Sharp and the underlying curses implementation.
KeyName
Returns a string corresponding to the key key.
MouseMaskOverloaded.
NapMs
Used to sleep for ms milliseconds.
PAIR_NUMBER
Extracts the color pair from a specified text attribute.
PairContent
Retrieves the color numbers that a specified color-pair consists of.
ResetProgramMode
Restores the terminal to "program" (in curses) state.
ResetShellMode
Restores the terminal to "shell" (out of curses) state.
ResetTty
Restores the state of the termial modes to what it was at the last call to SaveTty()()().
ResizeTerm
Resizes the default and current window objects.
RipOffLine
SaveProgramMode
Saves the current terminal modes as the "program" (in curses) state for use by the ResetProgramMode()()() method.
SaveShellMode
Saves the current terminal modes as the "shell" (out of curses) state for use by the ResetShellMode()()() method.
SaveTty
Saves the current state of the terminal modes. It can be restored later by ResetTty()()().
ScreenDump
ScreenInit
ScreenRestore
ScreenSet
SetCursorYX
SetMouseInterval
StartColor
Initializes the basic colors.
TraceOff
TraceOn
UnCtrl
UngetCh
Places a character back into the input queue to be returned by the next call to GetChar()()().
UngetMouse
UseDefaultColors
Enables the use of default (-1) colors.
UseEnv

Properties

  NameDescription
Baudrate
CanChangeColor
Represents the ability of the terminal to change color definitions.
CBreakMode
Represents the state of cbreak mode, i.e. the state of line buffering and erase/kill character processing.
ColorPairs
Represents the maximum number of color pairs that can be defined.
Colors
Represents the maximum number of colors that the screen can display.
Cols
Represents the number of columns on the screen.
CursorVisibility
Represents the appearance of the cursor.
Echo
Represents the state of echoing characters typed by the user by GetChar()()().
EraseChar
HasColors
Represents the ability of the terminal to manipulate colors.
HasHwInsDelChar
HasHwInsDelLine
HasMouse
IsEndWin
Returns true if EndWin has been called, and false otherwise.
KillChar
Lines
Represents the number of lines on the screen.
Newlines
Represents the status of newline character processing by the terminal.
QiFlush
RawMode
Represents the state of raw mode.
StdScr
Represents the default window that is created during library initialization.
TabSize
Represents the size of the TAB character.
TermAttrs
TerminalLongName
TerminalName

See Also