mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-18 19:19:18 +08:00
add backspace for hyper terminal
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@134 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
34f3f2538b
commit
0b5641e3d6
@ -311,7 +311,7 @@ void finsh_thread_entry(void* parameter)
|
||||
/*
|
||||
* handle backspace key
|
||||
*/
|
||||
if (ch == 0x7f)
|
||||
if (ch == 0x7f || ch == 0x08)
|
||||
{
|
||||
if (pos != 0)rt_kprintf("%c", ch);
|
||||
line[pos--] = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user