Fix comment for is_single_byte_escape_seq.

This commit is contained in:
Per Bothner 2019-06-06 19:42:34 -07:00 committed by Fabian Homborg
parent a3bdc6a233
commit 060a068a3c

View file

@ -135,7 +135,7 @@ static bool is_osc_escape_seq(const wchar_t *code, size_t *resulting_length) {
return found;
}
/// Generic VT100 one byte sequence: CSI followed by something in the range @ through _.
/// Generic VT100 three byte sequence: CSI followed by something in the range @ through _.
static bool is_single_byte_escape_seq(const wchar_t *code, size_t *resulting_length) {
bool found = false;
if (code[1] == L'[' && (code[2] >= L'@' && code[2] <= L'_')) {