Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2016-06-23 20:40:16 +0300
committerJunio C Hamano <gitster@pobox.com>2016-06-23 21:32:51 +0300
commit9dc3515cf005639317fb95492b3157aadf056923 (patch)
tree2225ac4d85a5ac5f93434edd70fad8a27f715ea1 /color.c
parent54590a0eda10ecfdc39398d662ab3f663491067e (diff)
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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/color.c b/color.c
index b6933a16fe..a5b6581215 100644
--- a/color.c
+++ b/color.c
@@ -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;