summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/lib/libdialog/kernel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/lib/libdialog/kernel.c b/gnu/lib/libdialog/kernel.c
index f81e71925f93..fad8c659a947 100644
--- a/gnu/lib/libdialog/kernel.c
+++ b/gnu/lib/libdialog/kernel.c
@@ -407,8 +407,8 @@ void draw_shadow(WINDOW *win, int y, int x, int height, int width)
void dialog_clear_norefresh(void)
{
- erase();
- bkgd(screen_attr|ACS_CKBOARD);
+ attr_clear(stdscr, LINES, COLS, screen_attr);
+ touchwin(stdscr);
wnoutrefresh(stdscr);
}