aboutsummaryrefslogtreecommitdiff
path: root/sdn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sdn.cpp')
-rw-r--r--sdn.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sdn.cpp b/sdn.cpp
index 294f15c..553191a 100644
--- a/sdn.cpp
+++ b/sdn.cpp
@@ -1421,6 +1421,7 @@ fun handle (wint_t c) -> bool {
break;
case ACTION_SCROLL_UP:
g.offset--;
+ break;
case ACTION_CENTER:
g.offset = g.cursor - (visible_lines () - 1) / 2;
break;