Fixed keyboard bug where keypresses were not being registered, working on libreadline
[tpg/acess2.git] / Usermode / include / readline.h
1 /*
2  * Acess2 Library Suite
3  * - Readline
4  * 
5  * Text mode entry with history
6  */
7 #ifndef _READLINE_H_
8 #define _READLINE_H_
9
10 // === TYPES ===
11 typedef struct sReadline        tReadline;
12
13 // === STRUCTURES ===
14 struct sReadline
15 {
16          int    UseHistory;     // Boolean
17         
18          int    NumHistory;
19         char    **History;
20 };
21
22 // === FUNCTIONS ===
23 /**
24  * \brief Read a line from stdin
25  */
26 extern char     *Readline(tReadline *Info);
27
28 #endif

UCC git Repository :: git.ucc.asn.au