character input without enter key