Changes in uspace/lib/clui/tinput.h [5a6cc679:a35b458] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/clui/tinput.h
r5a6cc679 ra35b458 104 104 /** Console */ 105 105 console_ctrl_t *console; 106 106 107 107 /** Prompt string */ 108 108 char *prompt; 109 109 110 110 /** Completion ops. */ 111 111 tinput_compl_ops_t *compl_ops; 112 112 113 113 /** Buffer holding text currently being edited */ 114 114 wchar_t buffer[INPUT_MAX_SIZE + 1]; 115 115 116 116 /** Linear position on screen where the prompt starts */ 117 117 unsigned prompt_coord; 118 118 /** Linear position on screen where the text field starts */ 119 119 unsigned text_coord; 120 120 121 121 /** Screen dimensions */ 122 122 sysarg_t con_cols; 123 123 sysarg_t con_rows; 124 124 125 125 /** Number of characters in @c buffer */ 126 126 size_t nc; 127 127 128 128 /** Caret position within buffer */ 129 129 size_t pos; 130 130 131 131 /** Selection mark position within buffer */ 132 132 size_t sel_start; 133 133 134 134 /** History (dynamically allocated strings) */ 135 135 char *history[HISTORY_LEN + 1]; 136 136 137 137 /** Number of entries in @c history, not counting [0] */ 138 138 size_t hnum; 139 139 140 140 /** Current position in history */ 141 141 size_t hpos; 142 142 143 143 /** @c true if finished with this line (return to caller) */ 144 144 bool done; 145 145 146 146 /** @c true if user requested to abort interactive loop */ 147 147 bool exit_clui;
Note:
See TracChangeset
for help on using the changeset viewer.