aboutsummaryrefslogtreecommitdiff
path: root/client/rl.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/rl.h')
-rw-r--r--client/rl.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/client/rl.h b/client/rl.h
new file mode 100644
index 0000000..7eef4da
--- /dev/null
+++ b/client/rl.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#define COLOR_OFF "\x1B[0m"
+#define COLOR_BLUE "\x1B[0;94m"
+
+#define CLI_PROMPT COLOR_BLUE "pbc" COLOR_OFF "% "
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int cli_main();
+void rl_printf(const char *fmt, ...);
+
+#ifdef __cplusplus
+}
+#endif
+