From: José Fonseca Date: Fri, 16 Mar 2012 19:35:13 +0000 (+0000) Subject: Disable italic ansi escape. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=d3846c6fda2eb17ccd0402551be8b569ab2dbc5a;p=apitrace Disable italic ansi escape. --- 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[] = {