system_pause

Macro pause_with_message

Source
macro_rules! pause_with_message {
    ($msg:expr) => { ... };
}
Expand description

Macro: pause_with_message!

Pauses the program execution and displays a custom message to the user. The program will wait until the user presses the Enter key.

ยงArguments

  • $msg: The custom message to display before pausing.

Example:

pause_with_message!("Custom pause message...");