Add a "Config *" argument to term_init(), and use that instead of the global
[u/mdw/putty] / unix / pterm.c
index 358ba4f..8b28a23 100644 (file)
@@ -2101,7 +2101,7 @@ int main(int argc, char **argv)
     inst->currcursor = inst->textcursor;
     show_mouseptr(inst, 1);
 
-    inst->term = term_init(inst);
+    inst->term = term_init(&cfg, inst);
     inst->logctx = log_init(inst);
     term_provide_logctx(inst->term, inst->logctx);