- implemented cursor retreat function (_wcursback) as a core function

- reimplemented cleaner wgetnstr
- fixed wdelch for use with _wcursback
This commit is contained in:
Dan Lynch
2006-06-28 11:48:40 +00:00
parent 6e2c97b0c0
commit c29c868475
4 changed files with 74 additions and 41 deletions
+1 -4
View File
@@ -51,11 +51,8 @@ int wclrtoeol ( WINDOW *win ) {
* @ret rc return status code
*/
int wdelch ( WINDOW *win ) {
struct cursor_pos pos;
_store_curs_pos( win, &pos );
_wputch( win, (unsigned)' ', NOWRAP );
_restore_curs_pos( win, &pos );
_wcursback( win );
return OK;
}