diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-05-08 16:04:57 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-05-12 17:36:34 -0400 |
commit | bb504e0c8f70d99ae07b8949922972507d79c4df (patch) | |
tree | c15bb2dbf679b52a5a576bd3a08458bc9d6df736 /src/screen.h | |
parent | 8adbc77bbde64b1312a5ede8b8c8febde563b574 (diff) | |
download | libvt100-bb504e0c8f70d99ae07b8949922972507d79c4df.tar.gz libvt100-bb504e0c8f70d99ae07b8949922972507d79c4df.zip |
track dirty at the row/cell level in addition to the full screendirty-cells
still not great (especially when scrolling), but should help?
Diffstat (limited to 'src/screen.h')
-rw-r--r-- | src/screen.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 { |