1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Expose term_translate outside terminal.c.

Also, instead of insisting on modifying the UTF-8 decoding state
inside the Terminal structure, it now takes a separate pointer to a
small struct containing that decode state. The idea is that if a
separate module wants to decode characters the same way the real
terminal would, it can pass its own mutable state structure, but the
same main Terminal pointer.
This commit is contained in:
Simon Tatham
2019-03-04 20:53:41 +00:00
parent 3cb846e70f
commit 0dcdb1b5a3
3 changed files with 48 additions and 39 deletions

1
defs.h
View File

@ -28,6 +28,7 @@
typedef struct conf_tag Conf;
typedef struct terminal_tag Terminal;
typedef struct term_utf8_decode term_utf8_decode;
typedef struct Filename Filename;
typedef struct FontSpec FontSpec;