Function dont_disappear::enter_to_continue[][src]

pub fn enter_to_continue()

Close with enter.

This waits for the user to press enter then ends to program (closing the window). Add

extern crate dont_disappear;

to the top of your file and

dont_disappear::enter_to_continue();

to where your program ends