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