edit: Add support for setting prompt string
Signed-hostap: Janusz Dziedzic <janusz.dziedzic@tieto.com>
This commit is contained in:
parent
0eed2a8d11
commit
2d2398a11f
7 changed files with 11 additions and 9 deletions
|
@ -112,7 +112,7 @@ static void readline_cmd_handler(char *cmd)
|
|||
int edit_init(void (*cmd_cb)(void *ctx, char *cmd),
|
||||
void (*eof_cb)(void *ctx),
|
||||
char ** (*completion_cb)(void *ctx, const char *cmd, int pos),
|
||||
void *ctx, const char *history_file)
|
||||
void *ctx, const char *history_file, const char *ps)
|
||||
{
|
||||
edit_cb_ctx = ctx;
|
||||
edit_cmd_cb = cmd_cb;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue