From 5aaf52f3617504d7211d272af86fd49f0e0d0a4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 16 Jan 2016 15:02:38 +0100 Subject: view: remove special cursor handling at end of visible area Close #148 --- view.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/view.c b/view.c index ad7d954..e417995 100644 --- a/view.c +++ b/view.c @@ -1145,8 +1145,6 @@ void view_cursors_to(Cursor *c, size_t pos) { /* make sure we redraw changes to the very first character of the window */ if (view->start == pos) view->start_last = 0; - if (view->end == pos) - view_viewport_down(view, 1); /* set the start of the viewable region to the start of the line on which * the cursor should be placed. if this line requires more space than * available in the view then simply start displaying text at the new -- cgit v1.2.3