Lumail - The console email client


Lua primitives: scroll_index_up()

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_up() function allows the list of messages to be scrolled iup by the specified amount.

For example:

-- Scroll up one message
scroll_index_up(1);

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

Availability

This function has been available since version 0.07.

See Also

See also index_offset, jump_index_to, scroll_index_down, scroll_index_to.