Set the terminal to cbreak mode which mean it is change from line mode to character mode.
See Implementation
Set the terminal to cbreak mode which mean it is change from line mode to character mode.