diff --git a/src/main.c b/src/main.c index 3f4e18e6..ccec6091 100644 --- a/src/main.c +++ b/src/main.c @@ -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) {