From d3846c6fda2eb17ccd0402551be8b569ab2dbc5a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Fri, 16 Mar 2012 19:35:13 +0000 Subject: [PATCH] Disable italic ansi escape. --- common/formatter.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/formatter.hpp b/common/formatter.hpp index 59f0fea..10661e3 100644 --- a/common/formatter.hpp +++ b/common/formatter.hpp @@ -88,7 +88,10 @@ protected: public: virtual Attribute *normal(void) const { return new AnsiAttribute("0m"); } virtual Attribute *bold(void) const { return new AnsiAttribute("1m"); } + /* Italic is not widely supported, or worse, implemented with a reverse */ +#if 0 virtual Attribute *italic(void) const { return new AnsiAttribute("3m"); } +#endif virtual Attribute *strike(void) const { return new AnsiAttribute("9m"); } virtual Attribute *color(Color c) const { static const char *color_escapes[] = { -- 2.45.2