From f89ca1564097f8a9add9f004c579a27ecab1ed1e Mon Sep 17 00:00:00 2001 From: nick black Date: Wed, 25 Nov 2020 19:51:03 -0500 Subject: [PATCH] sgr-full PoC: add NCSTYLE_STRUCK #1138 --- src/poc/sgr-full.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/poc/sgr-full.c b/src/poc/sgr-full.c index 42706cdb7..311278c70 100644 --- a/src/poc/sgr-full.c +++ b/src/poc/sgr-full.c @@ -22,6 +22,8 @@ int main(void){ ncplane_putstr_yx(n, y++, 0, "a ═ underline"); ncplane_set_styles(n, NCSTYLE_BLINK); ncplane_putstr_yx(n, y++, 0, "a ═ blink"); + ncplane_set_styles(n, NCSTYLE_STRUCK); + ncplane_putstr_yx(n, y++, 0, "a ═ strikethrough"); ncplane_putstr_yx(n, y++, 0, "sleeping for 5s..."); if(notcurses_render(nc)){ goto err;