mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-30 05:10:26 +08:00
Fix the echo issue in the shell.
This commit is contained in:
parent
924264b277
commit
5b1270455d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user