Maicha / lanterna

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

Throw ArrayIndexOutOfBoundsException with 3.0.0-alpha6 #134

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The issues is InteractableLookupMap.getSize() assume it has 1 more rows. So
return new TerminalSize(lookupMap[0].length, lookupMap.length); will throw 
ArrayIndexOutOfBoundsException when it has 0 rows.

Original issue reported on code.google.com by yuxuanch...@gmail.com on 5 Jun 2015 at 9:07