diff options
author | Jeff King <peff@peff.net> | 2016-06-23 19:40:16 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-06-23 20:32:51 +0200 |
commit | 9dc3515cf005639317fb95492b3157aadf056923 (patch) | |
tree | 2225ac4d85a5ac5f93434edd70fad8a27f715ea1 /color.c | |
parent | color: support "italic" attribute (diff) | |
download | git-9dc3515cf005639317fb95492b3157aadf056923.tar.xz git-9dc3515cf005639317fb95492b3157aadf056923.zip |
color: support strike-through attribute
This is the only remaining attribute that is commonly
supported (at least by xterm) that we don't support. Let's
add it for completeness.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'color.c')
-rw-r--r-- | color.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -136,7 +136,8 @@ static int parse_attr(const char *name, size_t len) ATTR("italic", 3, 23), ATTR("ul", 4, 24), ATTR("blink", 5, 25), - ATTR("reverse", 7, 27) + ATTR("reverse", 7, 27), + ATTR("strike", 9, 29) #undef ATTR }; int negate = 0; |