summaryrefslogtreecommitdiffstats
path: root/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/commands.c b/commands.c
index aafc510..7b7be62 100644
--- a/commands.c
+++ b/commands.c
@@ -325,6 +325,11 @@ bool ci_scroll(arg_t dir)
return img_pan(&img, dir, prefix);
}
+bool ci_scroll_to_center(arg_t _)
+{
+ return img_pan_center(&img);
+}
+
bool ci_scroll_to_edge(arg_t dir)
{
return img_pan_edge(&img, dir);