mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Add a "Config *" argument to term_init(), and use that instead of the global
cfg throughout the terminal emulator. Not tested in PuTTY and pterm, but they just pass in &cfg. [originally from svn r2248]
This commit is contained in:
@ -167,6 +167,8 @@ struct terminal_tag {
|
||||
void *frontend;
|
||||
|
||||
void *logctx;
|
||||
|
||||
Config *cfg;
|
||||
};
|
||||
|
||||
#define in_utf(term) ((term)->utf || line_codepage==CP_UTF8)
|
||||
|
Reference in New Issue
Block a user