Lumail - The console email client


Lua primitives: scroll_maildir_up()

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 scroll_maildir_up() function allows the list of folders to be scrolled up by the specified amount.

For example:

-- Scroll up one folder
scroll_maildir_up(1);

-- Scroll up the full height of the screen
scroll_maildir_up( screen_height() - 2 );

Availability

This function has been available since version 0.07.

See Also

See also current_maildir, jump_maildir_to, maildir_offset, scroll_maildir_down, scroll_maildir_to.