fix display of running multiline code while cursor isn't in last line

This commit is contained in:
dzaima 2022-12-23 18:06:51 +02:00
parent 381ce70212
commit bbc66cbf3f

View File

@ -348,6 +348,9 @@ static bool isCmd(char* s, char** e, const char* cmd) {
stopBackslash();
return REPLXX_ACTION_RESULT_CONTINUE;
}
TmpState s = getState();
s.pos = IA(s.s);
setState(s);
return REPLXX_ACTION_RESULT_RETURN;
}
static NOINLINE bool slice_equal(B a, usz as, B b, usz bs, usz l) {