aboutsummaryrefslogtreecommitdiff
path: root/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/commands.c b/commands.c
index 522413d..6c5fb1a 100644
--- a/commands.c
+++ b/commands.c
@@ -33,6 +33,7 @@
void remove_file(int, bool);
void load_image(int);
void open_info(void);
+int ptr_third_x(void);
void redraw(void);
void reset_cursor(void);
void animate(void);
@@ -281,6 +282,11 @@ bool ci_navigate(arg_t n)
}
}
+bool ci_cursor_navigate(arg_t _)
+{
+ return ci_navigate(ptr_third_x() - 1);
+}
+
bool ci_alternate(arg_t _)
{
load_image(alternate);