...
This commit is contained in:
parent
7cf9b21fc0
commit
4cbd2a0ee0
@ -609,12 +609,12 @@ parse_sgr(Screen *screen, uint32_t *buf, unsigned int num, int *params, PyObject
|
|||||||
case COLOR:
|
case COLOR:
|
||||||
case COLOR1:
|
case COLOR1:
|
||||||
case COLOR3:
|
case COLOR3:
|
||||||
REPORT_ERROR("Invalid SGR code containing disallowed character: %s", utf8(buf[i]));
|
REPORT_ERROR("Invalid SGR code containing disallowed character: %s (U+%x)", utf8(buf[i]), buf[i]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
REPORT_ERROR("Invalid SGR code containing disallowed character: %s", utf8(buf[i]));
|
REPORT_ERROR("Invalid SGR code containing disallowed character: %s (U+%x)", utf8(buf[i]), buf[i]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user