修复handle_sigint分支判断条件

This commit is contained in:
Ziming Zhang
2024-04-29 17:50:46 +08:00
committed by yaoxin
parent 71edf8c7ac
commit 5ce3fc959d

View File

@ -313,7 +313,7 @@ static void handle_sigint(SIGNAL_ARGS)
}
}
if (readline_status == WAIT_INPUT) {
if (readline_status == COMPLETE_QUERY) {
readline_status = COMPLETE_CANCELLED;
}