Function dont_disappear::any_key_to_continue::default
source · pub fn default()
Expand description
Message then close with any key.
Prompts user with message "Press any key to continue"
, 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::default();
to where your program ends