aboutsummaryrefslogtreecommitdiff
path: root/client/rl.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/rl.h')
-rw-r--r--client/rl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/client/rl.h b/client/rl.h
new file mode 100644
index 0000000..503225f
--- /dev/null
+++ b/client/rl.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#define COLOR_OFF "\x1b[0m"
+#define COLOR_BOLD "\x1b[1m"
+
+#define CLI_PROMPT "(" COLOR_BOLD "pbc" COLOR_OFF ") "
+
+int cli_main();
+void rl_printf(const char *fmt, ...);
+