summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-12-02 19:49:17 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-12-02 19:49:17 +0000
commit9b50f2c60a989957d4d7c0f5a34f75488bdc213d (patch)
treef0834a177ef851f37f689effa7f8255d072250ed
parent303f46f59156621a31ea404d347dcd0b32d8943e (diff)
Notes
-rw-r--r--gnu/lib/libdialog/kernel.c7
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);
}