From 4cbd2a0ee03271063a0cc62b926769e5e8728607 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 19 Sep 2022 19:55:00 +0530 Subject: [PATCH] ... --- kitty/parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty/parser.c b/kitty/parser.c index a7e906a98..edbdc7cd2 100644 --- a/kitty/parser.c +++ b/kitty/parser.c @@ -609,12 +609,12 @@ parse_sgr(Screen *screen, uint32_t *buf, unsigned int num, int *params, PyObject case COLOR: case COLOR1: 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; } break; 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; } }