jline/jline2 — pull request #134 by fantasy86 (2014-03-23 03:50:33+00:00)
Title: fix jline2 issue #100 and #127

for issue #100, I change WindowsSupport._getch() to WindowsSupport.readConsoleInput(), to get keyboard input virtual keys, and convert (some common) non-character input to escape sequences, that is, arrow keys, HOME, END, PAGE UP/DOWN, INSERT, DELETE ( Note: Ctrl/Alt/Shift state ignored). Arrow keys and DELETE seems automatically works fine, and others seems need some key mappings. (I just copied msys's inputrc, and all these keys except INSERT works). Only tested on my Win7, need more tests.

for issue #127, I wonder why WindowsTerminal remove ENABLE_PROCESSED_INPUT consolemode? I leave it there and Ctrl+C works, and other things still work fine.