diff options
author | ache <ache@FreeBSD.org> | 1994-10-28 04:05:32 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-10-28 04:05:32 +0000 |
commit | 155937f9dbfcfd967b9ef8be51b8a038ce806c63 (patch) | |
tree | 5e2f79ea6681609384d58261c0bb8175aa6b03e1 /gnu/lib | |
parent | 1a25ab537bba887df7e43c39a088527b8195fdf8 (diff) | |
download | FreeBSD-src-155937f9dbfcfd967b9ef8be51b8a038ce806c63.zip FreeBSD-src-155937f9dbfcfd967b9ef8be51b8a038ce806c63.tar.gz |
Add refresh after each line of program output,
some pgms may have long waiting time between output lines.
Diffstat (limited to 'gnu/lib')
-rw-r--r-- | gnu/lib/libdialog/prgbox.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/lib/libdialog/prgbox.c b/gnu/lib/libdialog/prgbox.c index b9a6606..d95ffdb 100644 --- a/gnu/lib/libdialog/prgbox.c +++ b/gnu/lib/libdialog/prgbox.c @@ -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); |