command parsing is moving to lua

This commit is contained in:
2025-12-22 14:51:57 +01:00
parent 2f1f127c74
commit f2dcf8563c
3 changed files with 23 additions and 1 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ void run_lua(char *str, char *cmd_output) {
int top = lua_gettop(L);
char path[128];
snprintf(path, sizeof(path), "%s/.command95.lua", getenv("HOME"));
snprintf(path, sizeof(path), "%s/.rds95.command.lua", getenv("HOME"));
if (luaL_dofile(L, path) != LUA_OK) {
const char *err = lua_tostring(L, -1);
fprintf(stderr, "Lua error: %s\n", err);