Implement SGR

This commit is contained in:
Kovid Goyal
2016-11-17 08:34:55 +05:30
parent f5fa40de81
commit f56da9392c
5 changed files with 175 additions and 17 deletions

View File

@@ -36,7 +36,7 @@ repr(Cursor *self) {
);
}
static inline void cursor_reset_display_attrs(Cursor *self) {
void cursor_reset_display_attrs(Cursor *self) {
self->bg = 0; self->fg = 0; self->decoration_fg = 0;
self->decoration = 0; self->bold = false; self->italic = false; self->reverse = false; self->strikethrough = false;
}