aboutsummaryrefslogtreecommitdiff
path: root/vt.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-30 16:08:27 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-30 16:08:27 +0000
commitf39d848368a7a91c8956979a543293813617ea78 (patch)
tree61b58a6235a7c74371654e7d20f55ae7f6fababa /vt.c
parentMerge branch 'use-freetype-to-render-glyphs' (diff)
parentmain: pty buffers appear to be ~20KB on modern linux kernels (diff)
Merge branch 'multithreaded-renderer'
Diffstat (limited to 'vt.c')
-rw-r--r--vt.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/vt.c b/vt.c
index 7ee59acb..399583ea 100644
--- a/vt.c
+++ b/vt.c
@@ -698,7 +698,6 @@ pre_print(struct terminal *term)
static inline void
post_print(struct terminal *term)
{
- term->grid->cur_row->dirty = true;
if (term->cursor.col < term->cols - 1)
term_cursor_right(term, 1);
else
@@ -716,13 +715,6 @@ print_insert(struct terminal *term)
&row[term->cursor.col + 1],
&row[term->cursor.col],
term->cols - term->cursor.col - 1);
-
-#if 0
- term_damage_update(
- term, term->cursor.linear + 1, term->cols - term->cursor.col - 1);
-#else
- row->dirty = true;
-#endif
}
}
@@ -737,6 +729,7 @@ action_print_utf8(struct terminal *term)
term_damage_update(term, term->cursor.linear, 1);
#else
row->dirty = true;
+ cell->attrs.clean = 0;
#endif
print_insert(term);
@@ -761,6 +754,7 @@ action_print(struct terminal *term, uint8_t c)
term_damage_update(term, term->cursor.linear, 1);
#else
row->dirty = true;
+ cell->attrs.clean = 0;
#endif
print_insert(term);