diff options
Diffstat (limited to 'src/term.rs')
-rw-r--r-- | src/term.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/term.rs b/src/term.rs index f7906122..62a98400 100644 --- a/src/term.rs +++ b/src/term.rs @@ -209,7 +209,9 @@ pub struct Term { size_info: SizeInfo, /// Template cell - template_cell: Cell + template_cell: Cell, + + pub dirty: bool, } /// Terminal size info @@ -275,6 +277,7 @@ impl Term { let scroll_region = Line(0)..grid.num_lines(); Term { + dirty: true, grid: grid, alt_grid: alt, alt: false, |