Re: [RESEND PATCH v3 1/2] cli: Correct several bugs in cli_getch()