diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1994-11-27 02:22:09 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1994-11-27 02:22:09 +0000 |
commit | 06fc741b2a79917f8a633aa01f7ccc93572c3d3b (patch) | |
tree | 306f9259fdd523b033973deb787e913315c967d7 /lib/libncurses/lib_insdel.c | |
parent | 6128633879204f41cc7d2c110c03ec68bf0ac843 (diff) | |
download | src-06fc741b2a79917f8a633aa01f7ccc93572c3d3b.tar.gz src-06fc741b2a79917f8a633aa01f7ccc93572c3d3b.zip |
Make idlok works properly with back color erase.
Notes
Notes:
svn path=/head/; revision=4830
Diffstat (limited to 'lib/libncurses/lib_insdel.c')
-rw-r--r-- | lib/libncurses/lib_insdel.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libncurses/lib_insdel.c b/lib/libncurses/lib_insdel.c index df68f8735c77..b23288b4e515 100644 --- a/lib/libncurses/lib_insdel.c +++ b/lib/libncurses/lib_insdel.c @@ -85,6 +85,10 @@ chtype blank = ' '; if (win->_maxx == columns && win->_idlok == TRUE) { + if (back_color_erase) { + T(("back_color_erase, turning attributes off")); + vidattr(curscr->_attrs = A_NORMAL); + } if (n > 0) { mvcur(-1, -1, win->_cury, 0); if (parm_insert_line) { |