Lumail - The console email client


Lua primitives: toggle_selected_folder()

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

lumail allows you to select multiple folders to open at the same time.

The toggle_selected_folder() function allows you to toggle the state of the currently folder.

For example:

keymap['maildir']['Space'] = 'toggle_selected_folder()';

Availability

This function has been available since version 0.07.

See Also

See also add_selected_folder, clear_selected_folders, get_variables, on_folder_selection, selected_folders, set_selected_folder.