aboutsummaryrefslogtreecommitdiff
path: root/vterm-module.h
diff options
context:
space:
mode:
authorjixiufeng <jixiufeng@luojilab.com>2018-11-10 19:28:10 +0800
committerjixiufeng <jixiufeng@luojilab.com>2018-11-10 19:28:10 +0800
commitaabbe279baa722c6c115f1ebccb7383d3561979d (patch)
treeee9dcbec7c9ef6968f3834dc0e51c55f5ae82f59 /vterm-module.h
parenta9a3375b78390dcd2c82bfcf97bcc4bb2ef12bbd (diff)
only refresh invalid lines
Diffstat (limited to 'vterm-module.h')
-rw-r--r--vterm-module.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/vterm-module.h b/vterm-module.h
index 2754e4a..3e636c7 100644
--- a/vterm-module.h
+++ b/vterm-module.h
@@ -38,6 +38,12 @@ typedef struct Term {
int sb_pending;
int invalid_start, invalid_end; // invalid rows in libvterm screen
+ bool pending_resize; // pending width/height
+ bool is_invalidated;
+
+ struct {
+ int row, col;
+ } cursor;
// Flag to indicate cursor is visible
bool cursor_visible;