]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - putty.h
Robert de Bath's multi-purpose patch, slightly modified.
[PuTTY.git] / putty.h
diff --git a/putty.h b/putty.h
index 273a8118451c9d84e7f12df24d2fd27be943cee0..477a81e47d56eb625896df491194073d5098175b 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 {