Add a Config * argument to ldisc_create(), and use it in place of the global
[u/mdw/putty] / ldisc.h
diff --git a/ldisc.h b/ldisc.h
index aa904ed..2bca86d 100644 (file)
--- a/ldisc.h
+++ b/ldisc.h
@@ -11,6 +11,7 @@
 typedef struct ldisc_tag {
     Terminal *term;
     Backend *back;
+    Config *cfg;
     void *backhandle;
     void *frontend;