(ack: bool)
| 87 | } |
| 88 | |
| 89 | pub fn error_with_ack(ack: bool) { |
| 90 | // want to give the user a chance to acknowledge the error |
| 91 | if ack { |
| 92 | dont_disappear::any_key_to_continue::custom_msg("Press any key to close the program..."); |
| 93 | } |
| 94 | |
| 95 | std::process::exit(1); |
| 96 | } |
| 97 | |
| 98 | pub fn pause() { |
| 99 | dont_disappear::any_key_to_continue::custom_msg("Press any key to close the program..."); |
no outgoing calls
no test coverage detected