diff options
author | Michael Brown | 2006-12-19 02:17:10 +0100 |
---|---|---|
committer | Michael Brown | 2006-12-19 02:17:10 +0100 |
commit | c1bac56f8546f2cadbaefbda33ca23efeb269bf9 (patch) | |
tree | 28ca5112a4a82b338ec7dbb546ec72a91e400ed2 /src/hci/mucurses/clear.c | |
parent | Assume a 24-line screen, since we can't (easily) avoid scrolling after (diff) | |
download | ipxe-c1bac56f8546f2cadbaefbda33ca23efeb269bf9.tar.gz ipxe-c1bac56f8546f2cadbaefbda33ca23efeb269bf9.tar.xz ipxe-c1bac56f8546f2cadbaefbda33ca23efeb269bf9.zip |
Use current attributes when erasing.
Diffstat (limited to 'src/hci/mucurses/clear.c')
-rw-r--r-- | src/hci/mucurses/clear.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hci/mucurses/clear.c b/src/hci/mucurses/clear.c index b4382c59..1813939b 100644 --- a/src/hci/mucurses/clear.c +++ b/src/hci/mucurses/clear.c @@ -19,7 +19,7 @@ int wclrtobot ( WINDOW *win ) { _store_curs_pos( win, &pos ); do { - _wputch( win, (unsigned)' ', WRAP ); + _wputc( win, ' ', WRAP ); } while ( win->curs_y + win->curs_x ); _restore_curs_pos( win, &pos ); @@ -37,7 +37,7 @@ int wclrtoeol ( WINDOW *win ) { _store_curs_pos( win, &pos ); while ( ( win->curs_y - pos.y ) == 0 ) { - _wputch( win, (unsigned)' ', WRAP ); + _wputc( win, ' ', WRAP ); } _restore_curs_pos( win, &pos ); @@ -51,7 +51,7 @@ int wclrtoeol ( WINDOW *win ) { * @ret rc return status code */ int wdelch ( WINDOW *win ) { - _wputch( win, (unsigned)' ', NOWRAP ); + _wputc( win, ' ', NOWRAP ); _wcursback( win ); return OK; |