Robert de Bath's multi-purpose patch, slightly modified.
[u/mdw/putty] / putty.h
diff --git a/putty.h b/putty.h
index c2d6362..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 {
@@ -145,6 +154,7 @@ typedef struct {
     short wordness[256];
     /* russian language translation */
     int xlat_enablekoiwin;
+    int xlat_88592w1250;
     int xlat_capslockcyr;
 } Config;