clean the REPL check for '\b'

This commit is contained in:
Lyon 2023-08-12 22:53:55 +08:00
parent 951d833b7f
commit ddd3d4fad9
2 changed files with 2 additions and 2 deletions

View File

@ -1668,7 +1668,7 @@ enum shellCTRL _inner_do_obj_runChar(PikaObj* self,
goto __exit;
}
}
if ((inputChar == '\b') || (inputChar == 127)) {
if (inputChar == '\b') {
if (shell->line_curpos == 0) {
#if __linux
printf("\b ");

View File

@ -2,4 +2,4 @@
#define PIKA_VERSION_MINOR 12
#define PIKA_VERSION_MICRO 5
#define PIKA_EDIT_TIME "2023/08/12 22:51:55"
#define PIKA_EDIT_TIME "2023/08/12 22:53:45"