aboutsummaryrefslogtreecommitdiffstats
path: root/src/list_window.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/list_window.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/list_window.h b/src/list_window.h
index 2efff8a5c..ab02f4bdd 100644
--- a/src/list_window.h
+++ b/src/list_window.h
@@ -49,6 +49,13 @@ void list_window_paint(struct list_window *lw,
/* perform basic list window commands (movement) */
int list_window_cmd(struct list_window *lw, unsigned rows, command_t cmd);
+/**
+ * Scroll the window. Returns non-zero if the command has been
+ * consumed.
+ */
+int
+list_window_scroll_cmd(struct list_window *lw, unsigned rows, command_t cmd);
+
/* select functions */
void list_window_set_selected(struct list_window *lw, unsigned n);