Add support for most of the ESC[<low number>t sequences, which xterm
[u/mdw/putty] / putty.h
diff --git a/putty.h b/putty.h
index 026fa44..53a6c54 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -173,7 +173,7 @@ enum {
     CIPHER_3DES,
     CIPHER_BLOWFISH,
     CIPHER_AES,                               /* (SSH 2 only) */
-    CIPHER_DES,                               /* (SSH 1 only) */
+    CIPHER_DES,
     CIPHER_MAX                        /* no. ciphers (inc warn) */
 };
 
@@ -326,12 +326,14 @@ typedef struct {
     unsigned char colours[22][3];
     /* Selection options */
     int mouse_is_xterm;
+    int rect_select;
     int rawcnp;
+    int rtf_paste;
     int mouse_override;
     short wordness[256];
     /* translations */
     VT_Mode vtmode;
-    char line_codepage[32];
+    char line_codepage[128];
     int xlat_capslockcyr;
     /* X11 forwarding */
     int x11_forward;
@@ -404,6 +406,16 @@ void begin_session(void);
 void sys_cursor(int x, int y);
 #define OPTIMISE_IS_SCROLL 1
 
+void set_iconic(int iconic);
+void move_window(int x, int y);
+void set_zorder(int top);
+void refresh_window(void);
+void set_zoomed(int zoomed);
+int is_iconic(void);
+void get_window_pos(int *x, int *y);
+void get_window_pixels(int *x, int *y);
+char *get_window_title(int icon);
+
 /*
  * Exports from noise.c.
  */
@@ -452,7 +464,7 @@ void term_paint(Context, int, int, int, int);
 void term_scroll(int, int);
 void term_pwron(void);
 void term_clrsb(void);
-void term_mouse(Mouse_Button, Mouse_Action, int, int, int, int);
+void term_mouse(Mouse_Button, Mouse_Action, int, int, int, int, int);
 void term_deselect(void);
 void term_update(void);
 void term_invalidate(void);
@@ -538,6 +550,7 @@ int check_compose(int first, int second);
 int decode_codepage(char *cp_name);
 char *cp_enumerate (int index);
 char *cp_name(int codepage);
+void get_unitab(int codepage, wchar_t * unitab, int ftype);
 
 /*
  * Exports from mscrypto.c