]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - terminal.h
Yet more global-removal. The static variables in logging.c are now
[PuTTY.git] / terminal.h
index 792f89b4451ae6231b0ed7b02c03c73a48882844..4f6b6e72297dbb43167068111b97894fd6bb78e7 100644 (file)
@@ -94,6 +94,7 @@ struct terminal_tag {
     long last_tblink;
 
     int xterm_mouse;                  /* send mouse messages to app */
+    int mouse_is_down;                /* used while tracking mouse buttons */
 
     unsigned long cset_attr[2];
 
@@ -160,6 +161,12 @@ struct terminal_tag {
 
     void (*resize_fn)(void *, int, int);
     void *resize_ctx;
+
+    void *ldisc;
+
+    void *frontend;
+
+    void *logctx;
 };
 
 #define in_utf(term) ((term)->utf || line_codepage==CP_UTF8)