diff --git a/build/replxxSubmodule b/build/replxxSubmodule index eb6bcecf..1da4681a 160000 --- a/build/replxxSubmodule +++ b/build/replxxSubmodule @@ -1 +1 @@ -Subproject commit eb6bcecff4ca6051120c99e9dd64c3bd20fcc42f +Subproject commit 1da4681a8814366ec51e7630b76558e53be0997d diff --git a/src/main.c b/src/main.c index d1c4aa2c..62c9e01b 100644 --- a/src/main.c +++ b/src/main.c @@ -367,7 +367,7 @@ static bool isCmd(char* s, char** e, const char* cmd) { TmpState s = getState(); s.pos = IA(s.s); setState(s); - return REPLXX_ACTION_RESULT_RETURN; + return replxx_invoke(global_replxx, REPLXX_ACTION_COMMIT_LINE, 0); } static NOINLINE bool slice_equal(B a, usz as, B b, usz bs, usz l) { B ac = vec_slice(a, as, l);