-/**
+/*
* Jexer - Java Text User Interface
*
* License: LGPLv3 or later
public void onKeypress(final TKeypressEvent keypress) {
if ((children.size() == 0)
- // TODO
- // || (cast(TTreeView)this)
+ || (this instanceof TTreeView)
|| (this instanceof TText)
) {