Read a single character from the standard input device.
getChar is implemented as hGetCharstdin.
This operation may fail with the same errors as hGetChar.
Computation hGetCharhdl reads a character from the
file or channel managed by hdl, blocking until a character is
available.
This operation may fail with: