Lumail - The console email client


Lua primitives: scroll_maildir_down()

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

For example:

-- Scroll down one folder
scroll_maildir_down(1);

-- Scroll down the full height of the screen
scroll_maildir_down( 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_to, scroll_maildir_up.