tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11031 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
4da6ddc615
commit
9b68b47440
|
@ -67,6 +67,7 @@ static unsigned char console_fnkey_pressed(int i)
|
|||
c = global_profile->console_fnkeys[i - 1];
|
||||
|
||||
/* This new line is necessary to avoid output to begin after the ">" of the CLI's prompt */
|
||||
printf("%s\n", c);
|
||||
printf("\n");
|
||||
|
||||
if (c == NULL) {
|
||||
|
@ -74,6 +75,7 @@ static unsigned char console_fnkey_pressed(int i)
|
|||
return CC_REDISPLAY;
|
||||
}
|
||||
|
||||
|
||||
if (process_command(global_handle, c)) {
|
||||
running = thread_running = 0;
|
||||
}
|
||||
|
@ -693,7 +695,7 @@ int main(int argc, char *argv[])
|
|||
#ifdef HAVE_EDITLINE
|
||||
history(myhistory, &ev, H_ENTER, line);
|
||||
#endif
|
||||
|
||||
|
||||
if (process_command(&handle, cmd)) {
|
||||
running = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue