Add support for ECMA-48 escape sequence for italic

Closes #443
This commit is contained in:
Daniel "Tracerneo" Ziółkowski
2013-06-28 04:28:32 +02:00
committed by Keith Winstein
parent d8711618c9
commit 06561d3500
2 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -44,7 +44,7 @@
namespace Terminal {
class Renditions {
public:
bool bold, underlined, blink, inverse, invisible;
bool bold, italic, underlined, blink, inverse, invisible;
int foreground_color;
int background_color;
@@ -58,7 +58,7 @@ namespace Terminal {
bool operator==( const Renditions &x ) const
{
return (bold == x.bold) && (underlined == x.underlined)
return (bold == x.bold) && (italic == x.italic) && (underlined == x.underlined)
&& (blink == x.blink) && (inverse == x.inverse)
&& (invisible == x.invisible) && (foreground_color == x.foreground_color)
&& (background_color == x.background_color);