projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a few stylistic warnings from Apple's C compilers.
[u/mdw/putty]
/
terminal.h
diff --git
a/terminal.h
b/terminal.h
index
04217fc
..
b6b5a06
100644
(file)
--- a/
terminal.h
+++ b/
terminal.h
@@
-94,6
+94,7
@@
struct terminal_tag {
long last_tblink;
int xterm_mouse; /* send mouse messages to app */
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];
unsigned long cset_attr[2];
@@
-154,9
+155,23
@@
struct terminal_tag {
short wordness[256];
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;
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;
+
+ void *frontend;
+
+ void *logctx;
+
+ Config *cfg;
};
#define in_utf(term) ((term)->utf || line_codepage==CP_UTF8)
};
#define in_utf(term) ((term)->utf || line_codepage==CP_UTF8)