summaryrefslogtreecommitdiffstats
path: root/pager.h
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-10-28 16:39:53 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-10-28 16:39:53 +0000
commita5b53e11f704384044adf1c378627dd102d0cc03 (patch)
tree38e691b517533327556fbbde4408a3ddf9dd71b8 /pager.h
parent556dbd8900b46a08719b664a80e04568ce4d0e4a (diff)
Gero Treuner's help-wrap patch.
Diffstat (limited to 'pager.h')
-rw-r--r--pager.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/pager.h b/pager.h
index 02f529bb..5801232a 100644
--- a/pager.h
+++ b/pager.h
@@ -17,6 +17,22 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+/* dynamic internal flags */
+#define M_SHOWFLAT (1<<0)
+#define M_SHOWCOLOR (1<<1)
+#define M_HIDE (1<<2)
+#define M_SEARCH (1<<3)
+#define M_TYPES (1<<4)
+#define M_SHOW (M_SHOWCOLOR | M_SHOWFLAT)
+
+/* exported flags for mutt_(do_)?pager */
+#define M_PAGER_NSKIP (1<<5) /* preserve whitespace with smartwrap */
+#define M_PAGER_MARKER (1<<6) /* use markers if option is set */
+#define M_PAGER_RETWINCH (1<<7) /* need reformatting on SIGWINCH */
+#define M_PAGER_MESSAGE (M_SHOWCOLOR | M_PAGER_MARKER)
+
+#define M_DISPLAYFLAGS (M_SHOW | M_PAGER_NSKIP | M_PAGER_MARKER)
+
typedef struct
{
CONTEXT *ctx; /* current mailbox */