blob: ab31ddbb7e0aaebf268bcba77b6f6cb15359e46d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#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, ...);
int rl_word(const char * line, int cursor);
char ** rl_complete_list(const char * word, const char * suggestions[]);
|