cbreak, this will be
after one character (CBREAK mode), or after the first newline
(NOCBREAK mode). Unless noecho has been set, the
character will also be echoed into win.
When using read-char, do not set both NOCBREAK mode
(nocbreak) and ECHO mode (echo) at the same time.
Depending on the state of the terminal driver when each character is
typed, the program may produce undesirable results.