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]
/
terminal.h
diff --git
a/terminal.h
b/terminal.h
index
4f6b6e7
..
727f842
100644
(file)
--- a/
terminal.h
+++ b/
terminal.h
@@
-167,6
+167,8
@@
struct terminal_tag {
void *frontend;
void *logctx;
+
+ Config *cfg;
};
#define in_utf(term) ((term)->utf || line_codepage==CP_UTF8)