Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/clui/tinput.h

    ra35b458 r5a6cc679  
    104104        /** Console */
    105105        console_ctrl_t *console;
    106 
     106       
    107107        /** Prompt string */
    108108        char *prompt;
    109 
     109       
    110110        /** Completion ops. */
    111111        tinput_compl_ops_t *compl_ops;
    112 
     112       
    113113        /** Buffer holding text currently being edited */
    114114        wchar_t buffer[INPUT_MAX_SIZE + 1];
    115 
     115       
    116116        /** Linear position on screen where the prompt starts */
    117117        unsigned prompt_coord;
    118118        /** Linear position on screen where the text field starts */
    119119        unsigned text_coord;
    120 
     120       
    121121        /** Screen dimensions */
    122122        sysarg_t con_cols;
    123123        sysarg_t con_rows;
    124 
     124       
    125125        /** Number of characters in @c buffer */
    126126        size_t nc;
    127 
     127       
    128128        /** Caret position within buffer */
    129129        size_t pos;
    130 
     130       
    131131        /** Selection mark position within buffer */
    132132        size_t sel_start;
    133 
     133       
    134134        /** History (dynamically allocated strings) */
    135135        char *history[HISTORY_LEN + 1];
    136 
     136       
    137137        /** Number of entries in @c history, not counting [0] */
    138138        size_t hnum;
    139 
     139       
    140140        /** Current position in history */
    141141        size_t hpos;
    142 
     142       
    143143        /** @c true if finished with this line (return to caller) */
    144144        bool done;
    145 
     145       
    146146        /** @c true if user requested to abort interactive loop */
    147147        bool exit_clui;
Note: See TracChangeset for help on using the changeset viewer.