Closed GoogleCodeExporter closed 9 years ago
Yes, there is a limitation in the input decoder which makes these accidentally
show up as ALT + O and then P, Q, R or S. Before I got started on 3.0, I
actually began to re-write the input decoder, you can enable this experimental
code by setting system property
com.googlecode.lanterna.input.enable-new-decoder to "true". It's pretty
untested though.
This problem has been fixed in 3.0, which should be ready unless you use the
GUI layer.
Original comment by mab...@gmail.com
on 21 Aug 2014 at 12:24
Yes, there is a limitation in the input decoder which makes these accidentally
show up as ALT + O and then P, Q, R or S. Before I got started on 3.0, I
actually began to re-write the input decoder, you can enable this experimental
code by setting system property
com.googlecode.lanterna.input.enable-new-decoder to "true". It's pretty
untested though.
This problem has been fixed in 3.0, which should be ready unless you use the
GUI layer.
Original comment by mab...@gmail.com
on 21 Aug 2014 at 12:24
I have tried by setting com.googlecode.lanterna.input.enable-new-decoder to
true but It didn't work.
I am using the GUI layer. Is there anyway I can port the fix back to 2.1.8 ? I
have a business case where I have to use the F4 key. Appreciate your help!
Original comment by venu1...@gmail.com
on 26 Aug 2014 at 3:26
Okay, I've added a hack in the old input decoder that recognizes F1-F4. Try the
latest release/2.1 branch and set system property
"com.googlecode.lanterna.input.function_key_hack" to "true" to activate this.
Original comment by mab...@gmail.com
on 21 Sep 2014 at 2:08
Is it possible to get the source code for this 2.1 branch ? I have done some
modifications to 2.1.8 version for my application so I have to keep those
changes well. Thanks for your help.
Original comment by venu1...@gmail.com
on 21 Sep 2014 at 2:45
The branch is available in the usual Git repository.
Original comment by mab...@gmail.com
on 21 Sep 2014 at 11:37
I tried this with 2.1 branch and it's still not working for me. I did set
system property "com.googlecode.lanterna.input.function_key_hack" to true.
Original comment by venu1...@gmail.com
on 14 Oct 2014 at 5:35
Yes, I now see why, I never pushed the change! Please try again; pull latest
changes, recompile 2.1 branch and set the property to true.
Original comment by mab...@gmail.com
on 19 Oct 2014 at 6:32
It's working now. Thank you so much.
Original comment by venu1...@gmail.com
on 21 Oct 2014 at 3:57
Original issue reported on code.google.com by
venu1...@gmail.com
on 14 Aug 2014 at 6:28