From c4413f3cca0a0750af9881276162b70f3489b499 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 5 Apr 2025 15:41:10 +0530 Subject: Add history storage and completion + split dmenu,history into modules --- src/LuaRuntime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LuaRuntime.cpp') diff --git a/src/LuaRuntime.cpp b/src/LuaRuntime.cpp index 70301b4..328cd89 100644 --- a/src/LuaRuntime.cpp +++ b/src/LuaRuntime.cpp @@ -115,7 +115,7 @@ int LuaRuntime::lua_event_register(lua_State *state) { preserve_top(state, { lua_rawgeti(state, LUA_REGISTRYINDEX, function_ref); event->lua_push(state); - lua_call(state, 1, 0); + lua_pcall(state, 1, 0, 0); }) }; -- cgit v1.3.1