mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
fix REPL FUNC_KEY reset
This commit is contained in:
parent
2cfa8b85ae
commit
ec513cd57e
@ -1614,10 +1614,12 @@ enum shellCTRL _inner_do_obj_runChar(PikaObj* self,
|
||||
shell->stat = PIKA_SHELL_STATE_WAIT_FUNC_KEY;
|
||||
ctrl = SHELL_CTRL_CONTINUE;
|
||||
goto __exit;
|
||||
} else {
|
||||
shell->stat = PIKA_SHELL_STATE_NORMAL;
|
||||
}
|
||||
shell->stat = PIKA_SHELL_STATE_NORMAL;
|
||||
}
|
||||
if (shell->stat == PIKA_SHELL_STATE_WAIT_FUNC_KEY) {
|
||||
shell->stat = PIKA_SHELL_STATE_NORMAL;
|
||||
if (inputChar == PIKA_KEY_LEFT) {
|
||||
if (shell->line_curpos) {
|
||||
shell->line_curpos--;
|
||||
|
Loading…
x
Reference in New Issue
Block a user