X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/2df34b4321465f778e00edfdd2b44ae8f3d2dc8f..b9d7bcadee831e9b59fb785f2464a5fc1897bd1a:/terminal.h diff --git a/terminal.h b/terminal.h index 04217fc4..9628e07f 100644 --- a/terminal.h +++ b/terminal.h @@ -94,6 +94,7 @@ struct terminal_tag { long last_tblink; int xterm_mouse; /* send mouse messages to app */ + int mouse_is_down; /* used while tracking mouse buttons */ unsigned long cset_attr[2]; @@ -157,6 +158,11 @@ struct terminal_tag { wchar_t *paste_buffer; int paste_len, paste_pos, paste_hold; long last_paste; + + void (*resize_fn)(void *, int, int); + void *resize_ctx; + + void *ldisc; }; #define in_utf(term) ((term)->utf || line_codepage==CP_UTF8)