Kayurses module
This module contains high-level functions for setting up basic interactive Curses applications, without requiring deep familiarity with the Curses API. It also provides useful convenience functions for those familiar with the API.
Historically this module provided a cross-platform interface to ncurses and pdcurses, but the Curses module is now fully cross-platform itself. Programs importing Kayurses should also import Curses.
Type Synonyms
ColourName=Int
Data types
- Kayurses::WeightName - Text weights
Functions
- Void clearScreen() - Clear the screen
- Void endScreen() - End Curses
- Void hideCursor() - Hide the cursor
- Void printAt(Int x,Int y,String text) - Add new text
- Void printAtColour(Int x,Int y,String text,Int colour,WeightName weight) - Add new coloured text
- Char readChar() - Read a character
- Void showCursor() - Show the cursor
- Void startScreen() - Initialise Curses
- Void updateScreen() - Update the screen
- Void waitChar() - Wait for input