fix replxx things

This commit is contained in:
dzaima 2023-02-26 16:09:38 +02:00
parent 6d03071ae6
commit a570bcaf88
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit eb6bcecff4ca6051120c99e9dd64c3bd20fcc42f
Subproject commit 1da4681a8814366ec51e7630b76558e53be0997d

View File

@ -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);