Reimplemented cxtc::get_char to reduce redundant calls to init_termios.
Subsequently fixes a bug that reset_termios didn't set the terminal to
the original state, but the settings of the last call to init_termios.
Closes #8.

Signed-off-by: New-Guy <Kenneth.E.Sills@Gmail.com>