ISO-2022 ESC sequence count, input discarded | GenAiHub