X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/b9d7bcadee831e9b59fb785f2464a5fc1897bd1a..1e7aebc90b2b822c14f0b77cd3f15adb9c52fa50:/terminal.h diff --git a/terminal.h b/terminal.h index 9628e07f..72c8f877 100644 --- a/terminal.h +++ b/terminal.h @@ -155,6 +155,9 @@ struct terminal_tag { short wordness[256]; + /* Mask of attributes to pay attention to when painting. */ + unsigned long attr_mask; + wchar_t *paste_buffer; int paste_len, paste_pos, paste_hold; long last_paste; @@ -163,6 +166,19 @@ struct terminal_tag { void *resize_ctx; void *ldisc; + + void *frontend; + + void *logctx; + + /* + * We maintain a full _copy_ of a Config structure here, not + * merely a pointer to it. That way, when we're passed a new + * one for reconfiguration, we can check the differences and + * adjust the _current_ setting of (e.g.) auto wrap mode rather + * than only the default. + */ + Config cfg; }; #define in_utf(term) ((term)->utf || line_codepage==CP_UTF8)