提交 9b68b474 authored 作者: Anthony Minessale's avatar Anthony Minessale

tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11031 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 4da6ddc6
...@@ -67,6 +67,7 @@ static unsigned char console_fnkey_pressed(int i) ...@@ -67,6 +67,7 @@ static unsigned char console_fnkey_pressed(int i)
c = global_profile->console_fnkeys[i - 1]; c = global_profile->console_fnkeys[i - 1];
/* This new line is necessary to avoid output to begin after the ">" of the CLI's prompt */ /* This new line is necessary to avoid output to begin after the ">" of the CLI's prompt */
printf("%s\n", c);
printf("\n"); printf("\n");
if (c == NULL) { if (c == NULL) {
...@@ -74,6 +75,7 @@ static unsigned char console_fnkey_pressed(int i) ...@@ -74,6 +75,7 @@ static unsigned char console_fnkey_pressed(int i)
return CC_REDISPLAY; return CC_REDISPLAY;
} }
if (process_command(global_handle, c)) { if (process_command(global_handle, c)) {
running = thread_running = 0; running = thread_running = 0;
} }
...@@ -693,7 +695,7 @@ int main(int argc, char *argv[]) ...@@ -693,7 +695,7 @@ int main(int argc, char *argv[])
#ifdef HAVE_EDITLINE #ifdef HAVE_EDITLINE
history(myhistory, &ev, H_ENTER, line); history(myhistory, &ev, H_ENTER, line);
#endif #endif
if (process_command(&handle, cmd)) { if (process_command(&handle, cmd)) {
running = 0; running = 0;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论