summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2011-09-28 19:21:49 +0000
committerMaxime Coste <frrrwww@gmail.com>2011-09-28 19:21:49 +0000
commita30b7c1e9f52ce3c5c22bc09d89ec093fc989b28 (patch)
tree008c076cdeb0fd1be68a4da9220755c92a216b99 /src
parente619a81375fd9ff8bc326cdbd8c7e262733953b9 (diff)
Window: fix scrolling when select_mode == Append
Diffstat (limited to 'src')
-rw-r--r--src/window.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window.cc b/src/window.cc
index 720cfb73..33042a72 100644
--- a/src/window.cc
+++ b/src/window.cc
@@ -193,6 +193,7 @@ void Window::move_cursor(const WindowCoord& offset)
WindowCoord pos = line_and_column_at(sel.last());
sel = Selection(sel.first(), iterator_at(pos + offset));
}
+ scroll_to_keep_cursor_visible_ifn();
}
}