3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 17:59:25 +01:00

client: display quit

This commit is contained in:
Tim Kourt 2017-04-10 13:16:50 -07:00 committed by Denis Kenzior
parent 50c76baed4
commit f5cb1d46bd
2 changed files with 9 additions and 0 deletions

View File

@ -176,6 +176,13 @@ void display_disable_cmd_prompt(void)
rl_crlf();
}
void display_quit(void)
{
rl_insert_text("quit");
rl_redisplay();
rl_crlf();
}
void display_init(void)
{
memset(&dashed_line, '-', sizeof(dashed_line) - 1);

View File

@ -37,5 +37,7 @@ void display_error(const char *error);
void display_enable_cmd_prompt(void);
void display_disable_cmd_prompt(void);
void display_quit(void);
void display_init(void);
void display_exit(void);