From af6a37b1c4509c7766933a7cb45d2ee9a3a23f98 Mon Sep 17 00:00:00 2001 From: Berke Güzel Date: Thu, 15 Oct 2026 11:37:31 +0300 Subject: Return owned text and share cell attribute flags with snapshots Make text queries return allocated strings released with term_text_free, keeping each capture atomic. Align public attributes with the write core, remove snapshot conversion tables, and migrate tests and the Kitty adapter. --- tests/spec_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/spec_test.c') diff --git a/tests/spec_test.c b/tests/spec_test.c index ec9d45d..202f9ba 100644 --- a/tests/spec_test.c +++ b/tests/spec_test.c @@ -175,7 +175,7 @@ static const struct spec cases[] = { .cols = 8, .rows = 3, ROWS3("X", "", ""), AT(1, 0), .attr_x = 0, .attr_y = 0, .attrs = TERM_ATTR_BOLD | TERM_ATTR_ITALIC | TERM_ATTR_STRIKE | - TERM_ATTR_OVERLINE | (TERM_UNDERLINE_SINGLE << TERM_ATTR_UNDERLINE_SHIFT), + TERM_ATTR_OVERLINE | TERM_ATTR_UNDERLINE, .fg = TERM_COLOR_SLOT | 123, .bg = 0xff010203u, .history = -1, }, { -- cgit v1.2.3