]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 31 Dec 2008 18:55:08 +0000 (18:55 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 31 Dec 2008 18:55:08 +0000 (18:55 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11031 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/esl/fs_cli.c

index 3cc21bc26494dc1c89152148c69a31e5a777e96a..bcbf9a0ee82669b3fc7ed4bae71c9c7f9b9fc8d6 100644 (file)
@@ -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;
                                }