right place.
edit_refresh()
- Remove apparently unneeded leaveok() calls. (David Benbennick)
- edit_refresh_clearok()
- - Removed, as it's now unnecessary. (David Benbennick)
+ edit_refresh_clearok(), center_cursor()
+ - Removed, as they are 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
yval, size_t start);
void update_line(const filestruct *fileptr, size_t index);
void update_cursor(void);
-void center_cursor(void);
void edit_refresh(void);
void edit_update(filestruct *fileptr, topmidnone location);
int statusq(int allowtabs, const shortcut *s, const char *def,
#endif
}
-void center_cursor(void)
-{
- current_y = editwinrows / 2;
- wmove(edit, current_y, current_x);
-}
-
/* Refresh the screen without changing the position of lines. */
void edit_refresh(void)
{