aboutsummaryrefslogtreecommitdiffhomepage
path: root/pager.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-12-07 12:43:40 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-12-07 12:43:40 -0800
commitef4465efdb07c27d4da3482e8ffc99c2a6ed18d4 (patch)
tree6cb4736f3a4b4ffc653e6b10f5434026df6103ce /pager.h
parent76ecf897ceace2fa83f83acdde9a5ec89139dcc6 (diff)
More work on builtin pager
Diffstat (limited to 'pager.h')
-rw-r--r--pager.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/pager.h b/pager.h
index e69de29b..218f0530 100644
--- a/pager.h
+++ b/pager.h
@@ -0,0 +1,15 @@
+/** \file pager.h
+ Pager support
+*/
+
+#include "complete.h"
+#include "screen.h"
+
+/* Represents rendering from the pager */
+class page_rendering_t
+{
+ screen_data_t screen_data;
+};
+
+typedef std::vector<completion_t> completion_list_t;
+page_rendering_t render_completions(const completion_list_t &raw_completions, const wcstring &prefix);