sob

Simple output bar
git clone https://git.sinitax.com/codemadness/sob
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit 4f2bc0ed04d5afc5dfd11651fe84747eb3ec55bb
parent a887d6f07bb03b0d3276485d03b827f6cd908ccd
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri, 10 Oct 2014 14:08:10 +0000

config: add a comment about the prompt format

Diffstat:
Mconfig.def.h | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

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 };