Centralise generation of the control sequences for arrow keys into a
[u/mdw/putty] / putty.h
diff --git a/putty.h b/putty.h
index b372d4a..6303968 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -854,6 +854,8 @@ char *term_get_ttymode(Terminal *term, const char *mode);
 int term_get_userpass_input(Terminal *term, prompts_t *p,
                            unsigned char *in, int inlen);
 
+int format_arrow_key(char *buf, Terminal *term, int xkey, int ctrl);
+
 /*
  * Exports from logging.c.
  */