mabe02 / lanterna

Java library for creating text-based GUIs
GNU Lesser General Public License v3.0
2.27k stars 242 forks source link

Table selectedRow should never be greater than number of rows #463

Closed keithkml closed 4 years ago

keithkml commented 4 years ago

This issue is very similar to #461. Right now, code which removes a row from a Table also needs to make sure selectedRow is still valid, and does not point to a nonexistent row.