From df9f2fe92d14cd95860e1e3fd656bd24c8952550 Mon Sep 17 00:00:00 2001 From: Kolja Waschk Date: Thu, 17 Jan 2008 09:31:57 +0000 Subject: [PATCH] Without readline, output order of prompt and informative/error output was mixed up git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@922 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/src/jtag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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