get only one character from console