This commit is contained in:
lyon 2021-12-25 18:47:45 +08:00
commit 72b92ca055

View File

@ -54,7 +54,7 @@ static void pikascript_entry(void *parameter){
while(1){
inputChar = finsh_getchar();
rt_kprintf("%c", inputChar);
if (inputChar == '\b'){
if ((inputChar == '\b') || (inputChar == 127)) {
uint32_t size = strGetSize(rxBuff);
if(size == 0){
rt_kprintf(" ");