diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1997-07-30 17:21:39 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1997-07-30 17:21:39 +0000 |
commit | c8a57a4fe56f3245fcb57b55188c8a336340b078 (patch) | |
tree | 7f7f89b59e18742d35d82f795df7418c5e33545e /lib/libncurses/lib_slk.c | |
parent | ed29ca4685d39742de8539c10654fb23eb026e6a (diff) |
Fix logical background handling by merging it from ncurses 4.1
No new user-visible functions added
Notes
Notes:
svn path=/head/; revision=27773
Diffstat (limited to 'lib/libncurses/lib_slk.c')
-rw-r--r-- | lib/libncurses/lib_slk.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libncurses/lib_slk.c b/lib/libncurses/lib_slk.c index 5d59c69155ec..8be6ac016924 100644 --- a/lib/libncurses/lib_slk.c +++ b/lib/libncurses/lib_slk.c @@ -180,6 +180,10 @@ SLK *slk = SP->_slk; if (slk == NULL) return ERR; slk->hidden = TRUE; + /* For simulated SLK's it's looks much more natural to + inherit those attributes from the standard screen */ + slk->win->_bkgd = stdscr->_bkgd; + slk->win->_attrs = stdscr->_attrs; werase(slk->win); return wrefresh(slk->win); } |