Robert de Bath's multi-purpose patch, slightly modified.
[u/mdw/putty] / putty.h
diff --git a/putty.h b/putty.h
index 273a811..477a81e 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -62,6 +62,15 @@ GLOBAL int has_focus;
 
 GLOBAL int app_cursor_keys, app_keypad_keys;
 
+GLOBAL int seen_key_event;
+GLOBAL int seen_disp_event;
+
+typedef enum {
+    US_NONE = 0, US_KEY = 1, US_DISP = 2, US_BOTH = 3
+} Unscroll_Trigger;
+
+GLOBAL Unscroll_trigger unscroll_event;
+
 #define WM_NETEVENT  (WM_USER + 1)
 
 typedef enum {