Lumail - The console email client

Lua primitives: prompt()

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

The bottom row of the lumail mail-client is designated as the message area, but it is also used to prompt for input.

The prompt() function allows you to query a user for input.

For example:

input = prompt( "my prompt" );
msg( "You entered: " .. input );


This function has been available since version 0.07.

See Also

See also choose_string, history_file, on_complete, prompt_chars, prompt_maildir, prompt_yn.