Lumail - The console email client

Lua primitives: set_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 set_selected_folder() function removes all current folders from the list of selections, and adds the single specified folder in their place.

This allows you to open a folder "exclusively".

For example:

  set_selected_folder( "/home/steve/Maildir/" );


This function has been available since version 0.07.

See Also

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