Empyreus / lanterna

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

getCharacter returns a value when getKind returns a value #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A Key with Key.Kind of Key.Kind.ArrowDown returns 'd' when getCharacter is 
called.

It would be nice if getKind and getCharacter were mutually exclusive (ie one 
returns null when the other has a value).

Original issue reported on code.google.com by medwa...@walledcity.ca on 26 Jul 2013 at 11:01

GoogleCodeExporter commented 9 years ago
Yes, that would make more sense

Original comment by mab...@gmail.com on 3 Aug 2013 at 5:53

GoogleCodeExporter commented 9 years ago
Fixed on default branch. I don't want to change it on 2.1.x as people may have 
code depending on this. 

Original comment by mab...@gmail.com on 3 Aug 2013 at 5:54