@ MT_COLOR_UNDERLINE
Underlined text.
NotifyColor
Types of Color Event.
@ MT_COLOR_COMPOSE_HEADER
Header labels, e.g. From:
enum CommandResult mutt_parse_color(struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err)
Parse the 'color' command - Implements Command::parse()
@ MT_COLOR_SIDEBAR_HIGHLIGHT
Select cursor.
struct ColorLineList index_author_list
List of colours applied to the author in the index.
@ MT_COLOR_INDEX_DATE
Index: date field.
enum CommandResult mutt_parse_uncolor(struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err)
Parse the 'uncolor' command - Implements Command::parse()
regex_t regex
Compiled regex.
@ NT_COLOR_RESET
Color has been reset/removed.
uint32_t bg
Background colour.
bool stop_matching
Used by the pager for body patterns, to prevent the color from being retried once it fails.
struct Colors * mutt_colors_new(void)
Create new colours.
@ MT_COLOR_INDEX_LABEL
Index: label field.
@ MT_COLOR_ERROR
Error message.
@ MT_COLOR_STATUS
Status bar (takes a pattern)
String manipulation buffer.
@ MT_COLOR_INDEX_AUTHOR
Index: author field (takes a pattern)
STAILQ_HEAD(ColorLineList, ColorLine)
@ MT_COLOR_HDRDEFAULT
Header default colour.
@ MT_COLOR_WARNING
Warning messages.
struct ColorLineList body_list
List of colours applied to the email body.
@ MT_COLOR_QUOTED
Pager: quoted text.
@ MT_COLOR_BOLD
Bold text.
@ MT_COLOR_INDICATOR
Selected item in list.
void mutt_color_free(struct Colors *c, uint32_t fg, uint32_t bg)
Free a colour.
struct ColorList * user_colors
int mutt_color_alloc(struct Colors *c, uint32_t fg, uint32_t bg)
Allocate a colour pair.
@ MT_COLOR_INDEX_NUMBER
Index: index number.
ColorId
List of all colored objects.
@ NT_COLOR_SET
A new Color has been set.
@ MT_COLOR_BODY
Pager: highlight body of message (takes a pattern)
@ MT_COLOR_NORMAL
Plain text.
@ MT_COLOR_INDEX_TAGS
Index: tags field (g, J)
struct ColorLineList hdr_list
List of colours applied to the email headers.
@ MT_COLOR_SEARCH
Pager: search matches.
@ MT_COLOR_SIGNATURE
Pager: signature lines.
int quotes_used
Number of colours for quoted email text.
@ MT_COLOR_MESSAGE
Informational message.
@ MT_COLOR_COMPOSE_SECURITY_NONE
Mail will not be encrypted or signed.
@ MT_COLOR_ATTACH_HEADERS
MIME attachment test (takes a pattern)
@ MT_COLOR_COMPOSE_SECURITY_SIGN
Mail will be signed.
@ MT_COLOR_ATTACHMENT
MIME attachments text (entire line)
@ MT_COLOR_SIDEBAR_ORDINARY
Mailbox with no new or flagged messages.
struct ColorLineList index_flags_list
List of colours applied to the flags in the index.
STAILQ_ENTRY(ColorLine) entries
Linked list.
@ MT_COLOR_OPTIONS
Options in prompt.
struct ColorLineList attach_list
List of colours applied to the attachment headers.
int pair
Colour pair index.
@ MT_COLOR_MESSAGE_LOG
Menu showing log messages.
@ MT_COLOR_INDEX_COLLAPSED
Index: number of messages in collapsed thread.
@ MT_COLOR_PROMPT
Question/user input.
An Event that happened to a Colour.
enum CommandResult mutt_parse_unmono(struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err)
Parse the 'unmono' command - Implements Command::parse()
struct Notify * notify
Notifications system.
@ MT_COLOR_TILDE
Pager: empty lines after message.
@ MT_COLOR_INDEX_SIZE
Index: size field.
@ MT_COLOR_TREE
Index: tree-drawing characters.
@ MT_COLOR_INDEX_TAG
Index: tag field (g, takes a pattern)
@ MT_COLOR_PROGRESS
Progress bar.
CommandResult
Error codes for command_t parse functions.
int * quotes
Array of colours for quoted email text.
@ MT_COLOR_SIDEBAR_FLAGGED
Mailbox with flagged messages.
@ MT_COLOR_COMPOSE_SECURITY_ENCRYPT
Mail will be encrypted.
enum CommandResult mutt_parse_mono(struct Buffer *buf, struct Buffer *s, intptr_t data, struct Buffer *err)
Parse the 'mono' command - Implements Command::parse()
struct ColorLineList index_list
List of default colours applied to the index.
@ MT_COLOR_MARKERS
Pager: markers, line continuation.
@ MT_COLOR_INDEX
Index: default colour (takes a pattern)
struct ColorLineList index_tag_list
List of colours applied to tags in the index.
@ MT_COLOR_HEADER
Message headers (takes a pattern)
@ MT_COLOR_SIDEBAR_NEW
Mailbox with new mail.
@ MT_COLOR_INDEX_FLAGS
Index: flags field (takes a pattern)
int match
Substring to match, 0 for old behaviour.
A regular expression and a color to highlight a line.
@ MT_COLOR_INDEX_SUBJECT
Index: subject field (takes a pattern)
struct PatternList * color_pattern
Compiled pattern to speed up index color calculation.
char * pattern
Pattern to match.
@ MT_COLOR_SIDEBAR_DIVIDER
Line dividing sidebar from the index/pager.
@ MT_COLOR_SIDEBAR_SPOOLFILE
$spool_file (Spool mailbox)
int * defs
Array of all fixed colours, see enum ColorId.
uint32_t fg
Foreground colour.
struct ColorLineList index_subject_list
List of colours applied to the subject in the index.
@ MT_COLOR_COMPOSE_SECURITY_BOTH
Mail will be encrypted and signed.
struct ColorLineList status_list
List of colours applied to the status bar.
int mutt_color_combine(struct Colors *c, uint32_t fg_attr, uint32_t bg_attr)
Combine two colours.
@ MT_COLOR_SIDEBAR_INDICATOR
Current open mailbox.
@ MT_COLOR_SIDEBAR_UNREAD
Mailbox with unread mail.
void mutt_colors_free(struct Colors **ptr)
Free all the colours.