diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-28 16:39:53 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-28 16:39:53 +0000 |
commit | a5b53e11f704384044adf1c378627dd102d0cc03 (patch) | |
tree | 38e691b517533327556fbbde4408a3ddf9dd71b8 /pager.h | |
parent | 556dbd8900b46a08719b664a80e04568ce4d0e4a (diff) |
Gero Treuner's help-wrap patch.
Diffstat (limited to 'pager.h')
-rw-r--r-- | pager.h | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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 */ |