36 {
"allow_ansi",
DT_BOOL,
false, 0, NULL,
37 "Allow ANSI colour codes in rich text messages"
40 "Only colour the part of the header matching the regex"
43 "Number of lines of overlap when changing pages in the pager"
46 "Number of index lines to display above the pager"
49 "Number of seconds to wait before marking a message read"
52 "Lines of context to show when skipping quoted text"
54 {
"pager_stop",
DT_BOOL,
false, 0, NULL,
55 "Don't automatically open the next message when at the end of a message"
58 "Context to display around search matches"
61 "Wrap text at word boundaries"
64 "Regex to match smileys to prevent mistakes when quoting text"
67 "Display '~' in the pager after the end of the email"
70 {
"skip_quoted_offset",
DT_SYNONYM,
IP "pager_skip_quoted_context",
IP "2021-06-18" },
Convenience wrapper for the config headers.
bool config_init_pager(struct ConfigSet *cs)
Register pager config variables - Implements module_init_config_t -.
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[], uint32_t flags)
Register a set of config items.
Container for lots of config items.
#define DT_BOOL
boolean option
#define R_PAGER
Redraw the pager menu.
#define R_PAGER_FLOW
Reflow lines and redraw the pager menu.
#define DT_SYNONYM
synonym for another variable
#define DT_NOT_NEGATIVE
Negative numbers are not allowed.
#define DT_REGEX
regular expressions
#define DT_NUMBER
a number