1
0
mirror of https://github.com/NevermindZZT/letter-shell.git synced 2025-01-21 10:02:54 +08:00

优化Shell结构体结构

This commit is contained in:
Letter 2020-05-13 14:40:53 +08:00
parent 330e24681a
commit 165b8595dd

View File

@ -291,8 +291,8 @@ typedef struct
unsigned short length; /**< 输入数据长度 */
unsigned short cursor; /**< 当前光标位置 */
char *buffer; /**< 输入缓冲 */
unsigned short bufferSize; /**< 输入缓冲大小 */
char *param[SHELL_PARAMETER_MAX_NUMBER]; /**< 参数 */
unsigned short bufferSize; /**< 输入缓冲大小 */
unsigned short paramCount; /**< 参数数量 */
int keyValue; /**< 输入按键键值 */
} parser;