diff options
author | ache <ache@FreeBSD.org> | 1994-12-02 19:49:17 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-12-02 19:49:17 +0000 |
commit | b2b7987fd848343984772b4944b937d6a14ab7db (patch) | |
tree | f0834a177ef851f37f689effa7f8255d072250ed /gnu | |
parent | 7ac6d5a8b5b268cdac980543d73846022972f292 (diff) | |
download | FreeBSD-src-b2b7987fd848343984772b4944b937d6a14ab7db.zip FreeBSD-src-b2b7987fd848343984772b4944b937d6a14ab7db.tar.gz |
Use new bkgd() function to produce background
Diffstat (limited to 'gnu')
-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 309a0ba..f81e719 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); } |