]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fs_cli: do not print extra newline on function key press
authorTravis Cross <tc@traviscross.com>
Thu, 22 Sep 2011 03:12:19 +0000 (03:12 +0000)
committerTravis Cross <tc@traviscross.com>
Fri, 23 Sep 2011 01:25:42 +0000 (01:25 +0000)
libs/esl/fs_cli.c

index affdd9dff2cc326e1d718880ec17ba1cfb6c2369..5a68640633ff3d81045940935140df4d8568163c 100644 (file)
@@ -101,9 +101,7 @@ static unsigned char console_fnkey_pressed(int i)
        const char *c;
        assert((i > 0) && (i <= 12));
        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) {
                esl_log(ESL_LOG_ERROR, "FUNCTION KEY F%d IS NOT BOUND, please edit your config.\n", i);
                return CC_REDISPLAY;