Lumail - The console email client


Lua primitives: on_exit()

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

If you define the function on_exit it will be called when the client is terminated.

For example:

function on_exit()
   print("on_exit() called");
end

Availability

This function has been available since version 0.07.

See Also

See also on_complete, on_idle, on_key, on_read_message.