Home
last modified time | relevance | path

Searched refs:count_history (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.2/user/apps/shell/
Dshell.c29 int count_history; variable
39 count_history = 0; in main_loop()
63 count_history++; in main_loop()
65 if (!count || current_command_index < count_history - 1) in main_loop()
66 count_history--; in main_loop()
69 strcpy(real_history_commands[count_history - 1], input_buffer); in main_loop()
70 count_history++; in main_loop()
72 for (int i = 0; i <= count_history - 2; i++) in main_loop()
74 current_command_index = count_history - 1; in main_loop()
128 if (current_command_index >= count_history - 1) in change_command()
[all …]