Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 anykey, rlutil
C
 cls, rlutil
G
 getANSIColor, rlutil
 getch
 getkey, rlutil
 gotoxy
H
 hidecursor, rlutil
K
 kbhit
L
 locate, rlutil
M
 max, rlutil
 min, rlutil
 msleep, rlutil
N
 nb_getch, rlutil
S
 setColor, rlutil
 showcursor, rlutil
T
 tcols, rlutil
 trows, rlutil
inline void anykey(void)
Waits until a key is pressed.
inline void cls(void)
Clears screen and moves cursor home.
RLUTIL_STRING_T getANSIColor(const int c)
Return ANSI color escape sequence for specified number 0-15.
int getch(void)
Get character without waiting for Return to be pressed.
int getkey(void)
Reads a key press (blocking) and returns a key code.
inline void gotoxy(int x,
int y)
Same as rlutil.locate.
inline void hidecursor(void)
Hides the cursor.
int kbhit(void)
Determines if keyboard has been hit.
void locate(int x,
int y)
Sets the cursor position to 1-based x,y.
#ifdef __cplusplus template <class T> const T& max (const &a,
const &b)
Returns the greater of the two arguments.
#ifdef __cplusplus template <class T> const T& min (const &a,
const &b)
Returns the lesser of the two arguments.
inline void msleep(unsigned int ms)
Waits given number of milliseconds before continuing.
inline int nb_getch(void)
Non-blocking getch().
inline void setColor(int c)
Change color specified by number (Windows / QBasic colors).
inline void showcursor(void)
Shows the cursor.
int tcols(void)
Get the number of columns in the terminal window or -1 on error.
int trows(void)
Get the number of rows in the terminal window or -1 on error.
Close