From df3ab87964fc52c6f44b2bbe014c8bec202d0528 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 22 Mar 2017 07:16:54 +0000 Subject: Add support for the strikethrough attribute (SGR 9), using the new smxx terminfo capability. This means there are now nine attribute bits, so anything above 0xff uses an extended cell. --- style.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'style.c') diff --git a/style.c b/style.c index cec1b894..6e78b3a9 100644 --- a/style.c +++ b/style.c @@ -31,10 +31,8 @@ style_parse(const struct grid_cell *defgc, struct grid_cell *gc, struct grid_cell savedgc; const char delimiters[] = " ,"; char tmp[32]; - int val; + int val, fg, bg, attr, flags; size_t end; - int fg, bg; - u_char attr, flags; if (*in == '\0') return (0); -- cgit v1.2.3