Home
last modified time | relevance | path

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

/components/finsh/
A Dshell.c657 int new_pos = find_prev_word_start(shell->line, shell->line_curpos); in finsh_thread_entry() local
658 if (new_pos != shell->line_curpos) in finsh_thread_entry()
660 rt_kprintf("\033[%dD", shell->line_curpos - new_pos); in finsh_thread_entry()
661 shell->line_curpos = new_pos; in finsh_thread_entry()
667 … int new_pos = find_next_word_end(shell->line, shell->line_curpos, shell->line_position); in finsh_thread_entry() local
668 if (new_pos != shell->line_curpos) in finsh_thread_entry()
670 rt_kprintf("\033[%dC", new_pos - shell->line_curpos); in finsh_thread_entry()
671 shell->line_curpos = new_pos; in finsh_thread_entry()

Completed in 12 milliseconds