support storing and replaying the monospace attribute in textbuffer

This commit is contained in:
Ailin Nemui 2014-09-11 18:15:06 +02:00
commit 98435fb464
3 changed files with 12 additions and 0 deletions

View file

@ -146,6 +146,9 @@ static void update_cmd_color(unsigned char cmd, int *color)
case LINE_CMD_ITALIC:
*color ^= ATTR_ITALIC;
break;
case LINE_CMD_MONOSPACE:
/* ignored */
break;
case LINE_CMD_COLOR0:
*color &= BGATTR;
*color &= ~ATTR_FGCOLOR24;