path: root/color.h
diff options
authorJeff King <>2016-06-23 17:40:16 (GMT)
committerJunio C Hamano <>2016-06-23 18:32:51 (GMT)
commit9dc3515cf005639317fb95492b3157aadf056923 (patch)
tree2225ac4d85a5ac5f93434edd70fad8a27f715ea1 /color.h
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 <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'color.h')
1 files changed, 2 insertions, 2 deletions
diff --git a/color.h b/color.h
index e6f82cc..2af1019 100644
--- a/color.h
+++ b/color.h
@@ -17,9 +17,9 @@ struct strbuf;
* The space for attributes is also slightly overallocated, as
* the negation for some attributes is the same (e.g., nobold and nodim).
- * We allocate space for 6 attributes.
+ * We allocate space for 7 attributes.
-#define COLOR_MAXLEN 70
+#define COLOR_MAXLEN 75
* IMPORTANT: Due to the way these color codes are emulated on Windows,