From a570bcaf88141fb01e41b52cdade9f52acacdec9 Mon Sep 17 00:00:00 2001 From: dzaima Date: Sun, 26 Feb 2023 16:09:38 +0200 Subject: [PATCH] fix replxx things --- build/replxxSubmodule | 2 +- src/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);