aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/move.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/move.c')
-rw-r--r--src/nvim/move.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/nvim/move.c b/src/nvim/move.c
index 481746881b..9d1d2e9cad 100644
--- a/src/nvim/move.c
+++ b/src/nvim/move.c
@@ -130,16 +130,6 @@ static void redraw_for_cursorcolumn(win_T *wp)
}
}
-// Update curwin->w_topline and redraw if necessary.
-// Used to update the screen before printing a message.
-void update_topline_redraw(void)
-{
- update_topline(curwin);
- if (must_redraw) {
- update_screen(0);
- }
-}
-
// Update curwin->w_topline to move the cursor onto the screen.
void update_topline(win_T *wp)
{