chjj/tty.js — pull request #66 by CyberShadow (2013-02-15 15:54:02+00:00)
Title: term.js: Ignore application keypad mode for arrow keys

Although this goes against the specification, this is what PuTTY (and apparently xterm) do, and is required for arrow keys to work in Midnight Commander.

The relevant code in PuTTY is in the `format_arrow_key` function, in the terminal.c file.