|
|
|
|
|
|
| Synopsis |
|
|
|
|
| UI initialisation
|
|
|
start initializes the UI and grabs the keyboard.
This function installs a handler for the SIGWINCH signal
which writes the KEY_RESIZE key to the input queue (if KEY_RESIZE and
and SIGWINCH are both available).
|
|
|
| Clean up and go home.
|
|
|
| Suspend the program.
|
|
|
| Resize the window
From Writing Programs with NCURSES, by Eric S. Raymond and
Zeyd M. Ben-Halim
|
|
| Input
|
|
|
getKey refresh reads a key.
The refresh function is used to redraw the screen when the terminal size
changes (see the documentatio of start for a discussion of the problem).
|
|
| Drawing
|
|
|
| drawLine n s draws n characters of string s.
|
|
|
| Draw the cursor at the given position.
|
|
| Navigation
|
|
|
| Move cursor to origin of stdScr.
|
|
| Colors
|
|
|
| Foreground colors.
| | Constructors | | BlackF | | | GreyF | | | DarkRedF | | | RedF | | | DarkGreenF | | | GreenF | | | BrownF | | | YellowF | | | DarkBlueF | | | BlueF | | | PurpleF | | | MagentaF | | | DarkCyanF | | | CyanF | | | WhiteF | | | BrightWhiteF | | | DefaultF | |
|
|
|
|
| Background colors.
| | Constructors | | BlackB | | | DarkRedB | | | DarkGreenB | | | BrownB | | | DarkBlueB | | | PurpleB | | | DarkCyanB | | | WhiteB | | | DefaultB | |
|
|
|
|
| Basic colors.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Attributes
|
|
|
| Abstractions for some commonly used attributes.
| | Constructors | | Bold | | | Underline | | | Dim | | | Reverse | | | Blink | |
|
|
|
|
| Converts an abstract attribute list into its curses representation.
|
|
| Style
|
|
|
| A humand-readable style.
| | Constructors | |
|
|
|
| A style which uses the internal curses representations for
attributes and colors.
|
|
|
|
|
|
| Changes the attributes of the given CursesStyle.
|
|
|
| Manipulate the current style of the standard screen
|
|
|
| Reset the screen to normal values
|
|
|
Converts a list of human-readable styles into the corresponding
curses representation.
This function should be called exactly once at application startup
for all styles of the application.
|
|
|
|
|
|
|
|
| Keys
|
|
|
| Converting keys to humand-readable strings
|
|
| Helpers
|
|
|
Other helpers
set the cursor, and do action
|
|
|
|
| Produced by Haddock version 2.6.0 |