pub fn custom_msg(msg: &str)
Expand description

Custom message then close with enter.

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

extern crate dont_disappear;

to the top of your file and

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

to where your program ends