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
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
}
}
-/* 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)