Merge pull request #626 from ailin-nemui/textbuffer_monospace

support storing and replaying the monospace attribute in textbuffer
This commit is contained in:
ailin-nemui 2017-01-31 14:17:44 +01:00 committed by GitHub
commit 4031b92b9b
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;