aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-11-06 08:33:34 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-11-06 08:33:34 +0000
commit65eaa00bfbb02d54083877783719a151fb66ecd1 (patch)
tree4c9d8920b321cbf81876d8ed1c10357f2fba515c
parenta0334cef15431cbe851f2140c8a260f9f830325f (diff)
downloadsrc-65eaa00bfbb02d54083877783719a151fb66ecd1.tar.gz
src-65eaa00bfbb02d54083877783719a151fb66ecd1.zip
Fix curses bug with delete character and standout
Notes
Notes: svn path=/head/; revision=4205
-rw-r--r--lib/libncurses/lib_doupdate.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libncurses/lib_doupdate.c b/lib/libncurses/lib_doupdate.c
index f85d09934392..4254177e424f 100644
--- a/lib/libncurses/lib_doupdate.c
+++ b/lib/libncurses/lib_doupdate.c
@@ -517,6 +517,10 @@ static void DelChar(int count)
{
T(("DelChar(%d) called", count));
+ if (back_color_erase) {
+ T(("back_color_erase, turning attributes off"));
+ vidattr(A_NORMAL);
+ }
if (parm_dch) {
tputs(tparm(parm_dch, count), 1, _outc);
} else {