Lumail - The console email client


Lua primitives: unread_message_colour()

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

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

Messages which have previously been read will be displayed as white, while unread messages will be coloured red by default.

This function lets you change the colour which unread messages will be drawn in.

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

For example:

-- Show unread messages in green, as that jumps out:
unread_message_colour( "green" );

Availability

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_maildir_colour.