Empyreus / lanterna

Automatically exported from code.google.com/p/lanterna
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Add F1-F12 to the input system #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We currently don't support the function keys F1-F12

Original issue reported on code.google.com by mab...@gmail.com on 18 Jul 2012 at 10:53

GoogleCodeExporter commented 9 years ago
Committed to 2.0.x-branch and merged to default. Needs testing on:
 * gnome-terminal
 * putty
 * xterm
 * mac terminal??
 * other terminal???

Original comment by mab...@gmail.com on 31 Jul 2012 at 1:12

GoogleCodeExporter commented 9 years ago
New snapshots pushed to Sonatype Maven, 2.0.2-SNAPSHOT and 2.1.0-SNAPSHOT

Original comment by mab...@gmail.com on 31 Jul 2012 at 1:16

GoogleCodeExporter commented 9 years ago
Tested on Putty, F1-F4 are recognized as ESC, but F5-F12 are working

Original comment by mab...@gmail.com on 1 Sep 2012 at 3:50

GoogleCodeExporter commented 9 years ago
Fixed F1-F4 on Putty, I think this issue can be closed now. Please re-open if 
it doesn't work on your terminal emulator. 

Original comment by mab...@gmail.com on 2 Sep 2012 at 1:00

GoogleCodeExporter commented 9 years ago
I'm evaluating (at the moment just examining the javadoc), and stumbled over 
the notice about F1-F12 not being supported.  I searched the forum, found the 
link to this tracker and see that it is meanwhile reported as fixed.

I'd suggest updating the javadoc (I have the 2.1.3-javadoc) as well, to avoid 
others prematurely discarding it for no-longer-valid reasons. :-)

Original comment by avlplu...@gmail.com on 13 Nov 2013 at 5:24

GoogleCodeExporter commented 9 years ago
Yes, good point, where did you see that?

Original comment by mab...@gmail.com on 22 Nov 2013 at 12:49

GoogleCodeExporter commented 9 years ago
One was in the javadocs, (inside lanterna-2.1.3-javadoc.jar)
 com/googlecode/lanterna/input/Key.html
   "[...] Currently the function keys F1 - F12 are not implemented."
 so, I'd suppose it's actually in the Key.java, of course.

The other one was on the wiki:
 http://code.google.com/p/lanterna/wiki/UsingTerminal
   "The function keys (F1-F12) are obviously missing and should be
added in a future release."

These are the two spots that I happened to notice.

Original comment by avlplu...@gmail.com on 23 Nov 2013 at 12:48

GoogleCodeExporter commented 9 years ago
Thanks, I've fixed those two now

Original comment by mab...@gmail.com on 24 Nov 2013 at 12:55