summaryrefslogtreecommitdiff
path: root/clients/tui.h
diff options
context:
space:
mode:
Diffstat (limited to 'clients/tui.h')
-rw-r--r--clients/tui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clients/tui.h b/clients/tui.h
index 5ede574..c4fe116 100644
--- a/clients/tui.h
+++ b/clients/tui.h
@@ -162,6 +162,9 @@ void tui_frame(const char *title);
void tui_hints(const char *s);
void tui_redraw(void);
#define TUI_PAGER_SAVE 0x1 /* 's' returns 2 (the save action) */
+/* Up/Down do not scroll (the key hook owns them, e.g. previous/next
+ record); PgUp/PgDn/Home/End still scroll and the hint says so. */
+#define TUI_PAGER_NO_ARROWS 0x2
int tui_pager(const char *title, const char *text, const char *action_hint);
int tui_pager_hook(const char *title, const char *text,
const char *extra_hint, unsigned flags,