config: add a comment about the prompt format - sob - simple output bar
(HTM) git clone git://git.codemadness.org/sob
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 4f2bc0ed04d5afc5dfd11651fe84747eb3ec55bb
(DIR) parent a887d6f07bb03b0d3276485d03b827f6cd908ccd
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 10 Oct 2014 14:08:10 +0000
config: add a comment about the prompt format
Diffstat:
M config.def.h | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/config.def.h b/config.def.h
@@ -1,3 +1,5 @@
+/* <green color> "> " <reset>, like mksh you can use '\x01' to stop counting
+ * the characters for the prompt length. */
static const char *prompt = "\x01\x1b[32m\x01> \x01\x1b[0m";
static const char *completenickcmd[] = { "/bin/sh", "-c", "$HOME/.sob/scripts/complete_nick", NULL };
static const char *historycmd[] = { "/bin/sh", "-c", "$HOME/.sob/scripts/history", NULL };