aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index 22eff5a9..0ed83877 100644
--- a/terminal.h
+++ b/terminal.h
@@ -145,6 +145,12 @@ enum mouse_reporting {
enum cursor_style { CURSOR_BLOCK, CURSOR_UNDERLINE, CURSOR_BAR };
+struct ptmx_buffer {
+ void *data;
+ size_t len;
+ size_t idx;
+};
+
struct terminal {
struct fdm *fdm;
@@ -152,6 +158,8 @@ struct terminal {
int ptmx;
bool quit;
+ tll(struct ptmx_buffer) ptmx_buffer;
+
enum cursor_keys cursor_keys_mode;
enum keypad_keys keypad_keys_mode;
bool reverse;