Lua primitives: screen_height()
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()'
This function has been available since version 0.07.
See also screen_width.