4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-21 00:27:19 +08:00

[finsh] Fix the echo mode issue in finsh.

This commit is contained in:
Bernard Xiong 2015-05-05 10:20:10 +08:00
parent f8c82b05bb
commit 7da82cbf31

View File

@ -526,7 +526,8 @@ void finsh_thread_entry(void* parameter)
else
{
shell->line[shell->line_position] = ch;
rt_kprintf("%c", ch);
if (shell->echo_mode)
rt_kprintf("%c", ch);
}
ch = 0;