[PATCH v2 2/2] cli: Correct handling of invalid escape sequences in cread_line()