Lumail - The console email client


Lua primitives: scroll_index_down()

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

When in index-mode, set with global_mode, the user interface consists of a list of messages.

The scroll_index_down() function allows the list of messages to be scrolled down by the specified amount.

For example:

-- Scroll down one message
scroll_index_down(1);

-- Scroll down the full height of the screen
scroll_index_down( screen_height() - 2 );

Availability

This function has been available since version 0.07.

See Also

See also index_offset, jump_index_to, scroll_index_to, scroll_index_up.