Add a "Config *" argument to term_init(), and use that instead of the global
[u/mdw/putty] / terminal.h
index 9628e07..727f842 100644 (file)
@@ -163,6 +163,12 @@ struct terminal_tag {
     void *resize_ctx;
 
     void *ldisc;
+
+    void *frontend;
+
+    void *logctx;
+
+    Config *cfg;
 };
 
 #define in_utf(term) ((term)->utf || line_codepage==CP_UTF8)