diff --git a/ChangeLog b/ChangeLog index 73edf1c6cbb85716e2bd3ad65e52cd2500ca3cba..fe7157b9aace8daf7f3f326018e93c5ba8d1dd4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -271,6 +271,8 @@ CVS code - right place. edit_refresh() - Remove apparently unneeded leaveok() calls. (David Benbennick) + edit_refresh_clearok() + - Removed, as it's now unnecessary. (David Benbennick) statusbar() - Call reset_cursor() just before refreshing the edit window, so that slang and other non-ncurses versions of curses will diff --git a/src/proto.h b/src/proto.h index 9e4e74f4e65cf5dfc4b7db7f5b9d578b8b36b5f0..a87b3a139b1c1cb4e7f274384969d02d3b75c237 100644 --- a/src/proto.h +++ b/src/proto.h @@ -516,7 +516,6 @@ void update_line(const filestruct *fileptr, size_t index); void update_cursor(void); void center_cursor(void); void edit_refresh(void); -void edit_refresh_clearok(void); void edit_update(filestruct *fileptr, topmidnone location); int statusq(int allowtabs, const shortcut *s, const char *def, #ifndef NANO_SMALL diff --git a/src/winio.c b/src/winio.c index 6b2cc781d8eaafedab498f7bb315548221a33907..fdbace522c7c043d85bd6d07e1bbb27bf1c38459 100644 --- a/src/winio.c +++ b/src/winio.c @@ -2266,15 +2266,6 @@ void edit_refresh(void) } } -/* Same as above, but touch the window first, so everything is - * redrawn. */ -void edit_refresh_clearok(void) -{ - clearok(edit, TRUE); - edit_refresh(); - clearok(edit, FALSE); -} - /* Nice generic routine to update the edit buffer, given a pointer to the * file struct =) */ void edit_update(filestruct *fileptr, topmidnone location)