aboutsummaryrefslogtreecommitdiff
path: root/vterm-module.h
diff options
context:
space:
mode:
Diffstat (limited to 'vterm-module.h')
-rw-r--r--vterm-module.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/vterm-module.h b/vterm-module.h
index 3e96da6..afa672e 100644
--- a/vterm-module.h
+++ b/vterm-module.h
@@ -7,13 +7,9 @@
#include <vterm.h>
int plugin_is_GPL_compatible;
-typedef struct {
- size_t cols;
- VTermScreenCell cells[];
-} ScrollbackLine;
+
#define SB_MAX 100000 // Maximum 'scrollback' value.
-static bool refresh_pending = false;
#ifndef MIN
#define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
@@ -22,6 +18,11 @@ static bool refresh_pending = false;
#define MAX(X, Y) ((X) > (Y) ? (X) : (Y))
#endif
+typedef struct ScrollbackLine {
+ size_t cols;
+ VTermScreenCell cells[];
+} ScrollbackLine;
+
typedef struct Term {
VTerm *vt;
VTermScreen *vts;