diff options
| -rw-r--r-- | gnu/lib/libdialog/kernel.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/lib/libdialog/kernel.c b/gnu/lib/libdialog/kernel.c index 309a0ba15c44..f81e71925f93 100644 --- a/gnu/lib/libdialog/kernel.c +++ b/gnu/lib/libdialog/kernel.c @@ -113,8 +113,7 @@ void init_dialog(void) #endif /* Set screen to screen attribute */ - attr_clear(stdscr, LINES, COLS, screen_attr); - wnoutrefresh(stdscr); + dialog_clear_norefresh(); } /* End of init_dialog() */ @@ -408,8 +407,8 @@ void draw_shadow(WINDOW *win, int y, int x, int height, int width) void dialog_clear_norefresh(void) { - attr_clear(stdscr, LINES, COLS, screen_attr); - touchwin(stdscr); + erase(); + bkgd(screen_attr|ACS_CKBOARD); wnoutrefresh(stdscr); } |
