diff options
Diffstat (limited to 'lib/libncurses/lib_delch.c')
| -rw-r--r-- | lib/libncurses/lib_delch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libncurses/lib_delch.c b/lib/libncurses/lib_delch.c index bc802ca81186..0a0fd0a66fd7 100644 --- a/lib/libncurses/lib_delch.c +++ b/lib/libncurses/lib_delch.c @@ -17,6 +17,7 @@ int wdelch(WINDOW *win) { chtype *temp1, *temp2; chtype *end; +chtype blank = _nc_background(win); T(("wdelch(%x) called", win)); @@ -27,7 +28,7 @@ chtype *end; while (temp1 < end) *temp1++ = *temp2++; - *temp1 = ' ' | win->_attrs; + *temp1 = blank; win->_lastchar[win->_cury] = win->_maxx; |
