projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a "Config *" argument to term_init(), and use that instead of the global
[u/mdw/putty]
/
unix
/
pterm.c
diff --git
a/unix/pterm.c
b/unix/pterm.c
index
358ba4f
..
8b28a23
100644
(file)
--- a/
unix/pterm.c
+++ b/
unix/pterm.c
@@
-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);