Lumail - The console email client

Lua primitives: show_text()

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

This function allows you to present some text to the user, which may be scrolled up or down, and can be useful for creating simple user-interface elements.

The display of text, whether inline as required by this function, or being read from a file, requires the global_mode be set to text.

txt = { "${colour:red}This is a line of red text",
        "${bold}Now we have some bold",
        "This is the end of our text" }
show_text( txt )
global_mode( "text")


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_file_contents, text_offset.