Lumail - The console email client

Lua primitives: unread_maildir_colour()

NOTE: Lumail-legacy has been superseded by Lumail 2.x, which has a wholly unified Lua API.

When in maildir-mode, set with global_mode, the display will consist of a list of maildir folders.

Maildirs which do not contain any unread messages will be displayed as white, while maildirs which contain new/unread messages will be coloured red by default.

This function lets you change the colour which maildirs containing unread mail will be drawn in.

Valid colours are "blue", "cyan", "green", "magenta", "red", "white", & "yellow".

For example:

-- Show maildirs containing unread message in yellow, as that jumps out:
unread_maildir_colour( "yellow" );


This function has been available since version 0.12.

See Also

See also attachment_colour, body_colour, get_variables, header_colour, index_highlight_mode, maildir_highlight_mode, unread_message_colour.