diff options
Diffstat (limited to 'buffer.h')
-rw-r--r-- | buffer.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -36,6 +36,7 @@ class Buffer{ const bool singleLineMode=false; TextBlob tb; + bool dirty=false; vector<ScreenLine> screen; i64 lastWidth=-1,lastHeight=-1; //excluding the gutter @@ -62,4 +63,5 @@ public: void show(i64 atx,i64 aty,i64 width,i64 height); string getText() const; + bool isDirty() const; }; |