pub fn custom_msg(msg: &str)
Expand description

Custom message then close with any key.

Prompts user with a custom message, waits for the user to press a key then ends to program (closing the window). Add

extern crate dont_disappear;

to the top of your file and

dont_disappear::any_key_to_continue::custom_msg("Your custom message.");

to where your program ends