Home
last modified time | relevance | path

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

/components/finsh/
A Dshell.c447 shell->current_history = shell->history_count; in shell_push_history()
456 shell->current_history = shell->history_count; in shell_push_history()
585 if (shell->current_history > 0) in finsh_thread_entry()
586 shell->current_history --; in finsh_thread_entry()
589 shell->current_history = 0; in finsh_thread_entry()
594 rt_memcpy(shell->line, &shell->cmd_history[shell->current_history][0], in finsh_thread_entry()
605 if (shell->current_history < shell->history_count - 1) in finsh_thread_entry()
606 shell->current_history ++; in finsh_thread_entry()
611 shell->current_history = shell->history_count - 1; in finsh_thread_entry()
616 rt_memcpy(shell->line, &shell->cmd_history[shell->current_history][0], in finsh_thread_entry()
A Dshell.h71 rt_uint16_t current_history; member

Completed in 8 milliseconds