Lumail - The console email client


Lua primitives: screen_height()

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

This function will return the integer count of the number of lines the console within which lumail is running.

It can be useful for paging down messages/folders in multipls of the screen height:

--
-- Scroll down the list of folders in multiples of the screen height.
--
function maildir_page_down()
   scroll_maildir_down( screen_height() - 2  );
end

keymap['maildir']['J'] = 'maildir_page_down()'

Availability

This function has been available since version 0.07.

See Also

See also screen_width.