diff options
Diffstat (limited to 'src/hci/mucurses/clear.c')
-rw-r--r-- | src/hci/mucurses/clear.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/hci/mucurses/clear.c b/src/hci/mucurses/clear.c index 79b296cf..f5e52ca2 100644 --- a/src/hci/mucurses/clear.c +++ b/src/hci/mucurses/clear.c @@ -88,3 +88,13 @@ int werase ( WINDOW *win ) { wclrtobot( win ); return OK; } + +/** + * Completely clear the screen + * + * @ret rc return status code + */ +int erase ( void ) { + stdscr->scr->erase( stdscr->scr, stdscr->attrs ); + return OK; +} |