aboutsummaryrefslogtreecommitdiff
path: root/vterm-module.h
diff options
context:
space:
mode:
authorLukas Fürmetz <fuermetz@mailbox.org>2018-11-03 12:22:35 +0100
committerLukas Fürmetz <fuermetz@mailbox.org>2018-11-03 12:22:35 +0100
commit4127e0deb170209da3cd0932b21158995510969c (patch)
tree151dc981b39e27d565165d2b29ed2dbdc0637476 /vterm-module.h
parent2135433949ed4447f8404c88ea9f519c0ade412f (diff)
Revert "only refresh invalid lines"
This reverts commit d8f3388733cfb5abbe00966ab30e1672ed0ae046.
Diffstat (limited to 'vterm-module.h')
-rw-r--r--vterm-module.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/vterm-module.h b/vterm-module.h
index 3e636c7..3e96da6 100644
--- a/vterm-module.h
+++ b/vterm-module.h
@@ -28,6 +28,7 @@ typedef struct Term {
// buffer used to:
// - convert VTermScreen cell arrays into utf8 strings
// - receive data from libvterm as a result of key presses.
+ char textbuf[0x1fff];
ScrollbackLine **sb_buffer; // Scrollback buffer storage for libvterm
size_t sb_current; // number of rows pushed to sb_buffer
size_t sb_size; // sb_buffer size
@@ -38,12 +39,6 @@ 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;