diff --git a/jtag/src/jtag.c b/jtag/src/jtag.c index 12ab7472..d3ce9495 100644 --- a/jtag/src/jtag.c +++ b/jtag/src/jtag.c @@ -247,9 +247,9 @@ jtag_readline_loop( const char *prompt ) line[0] = 0; do { + jtag_readline_multiple_commands_support( line ); printf("%s", prompt); fflush(stdout); - jtag_readline_multiple_commands_support( line ); } while(fgets(line, 1023, stdin)); #endif