From bb504e0c8f70d99ae07b8949922972507d79c4df Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 8 May 2016 16:04:57 -0400 Subject: track dirty at the row/cell level in addition to the full screen still not great (especially when scrolling), but should help? --- src/screen.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/screen.h') diff --git a/src/screen.h b/src/screen.h index 5cdffbb..e4a6229 100644 --- a/src/screen.h +++ b/src/screen.h @@ -51,11 +51,13 @@ struct vt100_cell { size_t len; struct vt100_cell_attrs attrs; unsigned char is_wide: 1; + unsigned char dirty: 1; }; struct vt100_row { struct vt100_cell *cells; unsigned char wrapped: 1; + unsigned char dirty: 1; }; struct vt100_grid { -- cgit v1.2.3-54-g00ecf