4 releases

0.1.3 Apr 27, 2021
0.1.2 Jan 21, 2021
0.1.1 Jan 21, 2021
0.1.0 Jan 21, 2021

#1024 in Command line utilities

MIT/Apache

2KB

Description

Crate that brings functionality similar to c++'s system("pause")

Usage

use pause_console::*;
...

//print "Press Enter to continue..." then wait till Enter pressed
pause_console!();

//same with custom message
pause_console!("Sample message");

//same with newlines
pause_console!("\nSample message\n");

No runtime deps