From 30b9e2b6fbd6496b61c30d885720be1a2d9754a9 Mon Sep 17 00:00:00 2001 From: nick black Date: Thu, 24 Jun 2021 10:56:44 -0400 Subject: [PATCH] get NCSTYLE_STRUCK into supported_styles --- src/lib/termdesc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/termdesc.c b/src/lib/termdesc.c index 6f088827c..f483685c5 100644 --- a/src/lib/termdesc.c +++ b/src/lib/termdesc.c @@ -462,6 +462,7 @@ int interrogate_terminfo(tinfo* ti, int fd, const char* termname, unsigned utf8, { NCSTYLE_UNDERLINE, "smul", A_UNDERLINE }, { NCSTYLE_DIM, "dim", A_DIM }, { NCSTYLE_ITALIC, "sitm", A_ITALIC }, + { NCSTYLE_STRUCK, "smxx", 0 }, { 0, NULL, 0 } }; const char* sgr = get_escape(ti, ESCAPE_SGR);