#include <tinput.h>
Data Fields | |
| wchar_t | buffer [INPUT_MAX_SIZE+1] |
| Buffer holding text currently being edited. | |
| sysarg_t | col0 |
| Screen coordinates of the top-left corner of the text field. | |
| sysarg_t | con_cols |
| Screen dimensions. | |
| sysarg_t | con_rows |
| bool | done |
true if finished with this line (return to caller) | |
| bool | exit_clui |
true if user requested to abort interactive loop | |
| char * | history [HISTORY_LEN+1] |
| History (dynamically allocated strings). | |
| size_t | hnum |
Number of entries in history, not counting [0]. | |
| size_t | hpos |
| Current position in history. | |
| size_t | nc |
Number of characters in buffer. | |
| size_t | pos |
| Caret position within buffer. | |
| sysarg_t | row0 |
| size_t | sel_start |
| Selection mark position within buffer. | |
Applications should treat this structure as opaque.
Definition at line 46 of file tinput.h.
1.4.7