diff --git a/tftp/main.c b/tftp/main.c index ac06330..ecdc0e0 100644 --- a/tftp/main.c +++ b/tftp/main.c @@ -806,6 +806,7 @@ static void command(void) exit(0); /* EOF */ #else fputs(prompt, stdout); + fflush(stdout); if (fgets(line, LBUFLEN, stdin) == 0) { if (feof(stdin)) { exit(0);