commit | e7aa5343558c0b45ca6c64c2aa38c9c853fbccfb | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Tue Apr 16 21:11:14 2019 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Tue Apr 16 21:11:40 2019 +0200 |
tree | 351226688b48d150e758cea175c63f8e8c6fc7aa | |
parent | 255da5ed24f90fef2640cf21bf831999ef506b6e [diff] [blame] |
command.c: Print prompt when starting up Change-Id: I18e4351609ab10c06a2fa197cb9f7a66269799a0
diff --git a/sysmoOCTSIM/command.c b/sysmoOCTSIM/command.c index 9502f05..3210b27 100644 --- a/sysmoOCTSIM/command.c +++ b/sysmoOCTSIM/command.c
@@ -71,6 +71,11 @@ g_cmds.buf[g_cmds.buf_idx++] = c; } +void command_print_prompt(void) +{ + printf(g_cmds.prompt); +} + void command_try_recv(void) { unsigned int i = 0;