pub fn close()
Leaves raw mode in your terminal so that the user is returned to a normal terminal instance (cooked mode).
This calls functions in C, so it is unsafe.