From 646556067f6808627ad3f016b41df24f4f83e4de Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Fri, 28 Oct 1994 04:05:32 +0000 Subject: [PATCH] Add refresh after each line of program output, some pgms may have long waiting time between output lines. --- gnu/lib/libdialog/prgbox.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/lib/libdialog/prgbox.c b/gnu/lib/libdialog/prgbox.c index b9a66060453..d95ffdb1b04 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);