aboutsummaryrefslogtreecommitdiffstats
path: root/src/lush.h
diff options
context:
space:
mode:
authorGravatar BanceDev 2025-02-07 14:40:33 -0500
committerGravatar BanceDev 2025-02-07 14:40:33 -0500
commita87df81b8541121b5bad1b0e37b955fe47ae1931 (patch)
treea780061bb5ff91bccca7e4c1fd6ef7460cc4add0 /src/lush.h
parentadded trap builtin (diff)
made constant for lush_lua builtin index
Diffstat (limited to 'src/lush.h')
-rw-r--r--src/lush.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lush.h b/src/lush.h
index 06eb184..d067b36 100644
--- a/src/lush.h
+++ b/src/lush.h
@@ -19,6 +19,7 @@ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#define LUSH_H
#include <lua.h>
+#define LUSH_LUA 5
// alias
void lush_add_alias(const char *alias, const char *command);
@@ -57,6 +58,6 @@ extern char *prompt_format;
// history
char *lush_get_past_command(int pos);
-void lush_push_history(const char* line);
+void lush_push_history(const char *line);
#endif // LUSH_H