Lumail - The console email client


Lua primitives: on_folder_selection()

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 function on_folder_selection() is called whenever a change is made to the selection:

This is used in the sample configuration file to update the From: address when you enter/leave particular folders.

Availability

This function has been available since version 0.07.

See Also

See also add_selected_folder, clear_selected_folders, selected_folders, set_selected_folder, toggle_selected_folder.