Add refresh after each line of program output,

some pgms may have long waiting time between output lines.
This commit is contained in:
Andrey A. Chernov 1994-10-28 04:05:32 +00:00
parent b140921eef
commit 646556067f

View file

@ -81,6 +81,7 @@ int dialog_prgbox(unsigned char *title, const char *line, int height, int width,
*s++ = ' ';
print_autowrap(dialog, buf, height-(pause?3:1), width-2, width, 1, 2, FALSE, TRUE);
print_autowrap(dialog, "\n", height-(pause?3:1), width-2, width, 1, 2, FALSE, FALSE);
wrefresh(dialog);
}
raw_pclose(f);