Lumail - The console email client


Lua primitives: index_highlight_mode()

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

When the global_mode is set to index you will be presented with a list of messages.

You may navigate through these messages, and the currently selected message will be highlighted visually.

The index_highlight_mode() helper allows you to choose how that highlighting is applied. Valid options are:

NOTE: You can combine values, so this is valid:

index_highlight_mode( "bold reverse");

The default is "standout".

Availability

This function has been available since version 0.20.

See Also

See also attachment_colour, body_colour, get_variables, header_colour, maildir_highlight_mode, unread_maildir_colour, unread_message_colour, wrap_lines.