[][src]Crate dont_disappear

Tiny crates that stops the console window form closing when the program finishes.

Modules

any_key_to_continue

The any_key_to_continue module responds to any key press, however, can return strange characters when Ctrl-c or Delete keys are used.

enter_to_continue

Using the enter_to_continue module makes is the simplest way of using this crate, however, the only key you can use with it is the enter key.

Functions

press_close

Press close only with window manager or Ctrl-c.