Lumail - The console email client


Lua primitives: show_file_contents()

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

This function allows you to display the contents of a file to the user, which they may interact with.

The display of text requires the global_mode be set to text.

show_file_contents( "/etc/motd" )
global_mode( "text")

Availability

This function has been available since version 0.25.

See Also

See also alert, jump_text_to, msg, scroll_text_down, scroll_text_to, scroll_text_up, show_text, text_offset.