Centralise generation of the control sequences for arrow keys into a
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 6 Mar 2010 15:50:26 +0000 (15:50 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 6 Mar 2010 15:50:26 +0000 (15:50 +0000)
commit720f700ea5af91c2faab20e74515f157e6e8cbdf
tree75b153e04652fcdd5c83d9937a69ad78fbb36677
parent59b0bfe7f0e692659cc84d7647f171f8fbd89eb9
Centralise generation of the control sequences for arrow keys into a
function in terminal.c, and replace the cloned-and-hacked handling
code in all our front ends with calls to that.

This was intended for code cleanliness, but a side effect is to make
the GTK arrow-key handling support disabling of application cursor
key mode in the Features panel. Previously that checkbox was
accidentally ignored, and nobody seems to have noticed before!

git-svn-id: svn://svn.tartarus.org/sgt/putty@8896 cda61777-01e9-0310-a592-d414129be87e
macosx/osxwin.m
putty.h
terminal.c
unix/gtkwin.c
windows/window.c