Lumail - The console email client


Lua primitives: jump_maildir_to()

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

When in maildir mode, set with global_mode, the user interface consists of a list of maildir folders.

The jump_maildir_to() function allows you to jump to a particular offset in the list.

For example:

-- Jump to the end of the list:
function maildir_end()
   jump_maildir_to( count_maildirs() - 1 );
end

Availability

This function has been available since version 0.07.

See Also

See also maildir_offset, scroll_maildir_down, scroll_maildir_up, select_maildir.