Commit Graph

3 Commits

Author SHA1 Message Date
Marcel Schramm 52ee681981
Update to tcell v2.0.0 (#358)
Migrate tcell to 2.0.0

* tview.TreeView#SetSelectedStyle removed
* tview.Primitives don't allow directly setting attributes for now (might change again with tview 2.+)
2020-10-24 13:22:48 +02:00
Marcel Schramm 1485a8849d
Focus and key handling changed
* Directional focus changing doesn't happen in tivew anymore, instead
the application can handle it itself. This gives the application more
power over the focus and the user input handling.
* Key events now trickle down from parents to children, this allows for
defining a set of events for a whole view without having to set it in
the tview.Application instance or having to register multiple handlers
for one event.
2020-10-16 19:22:18 +02:00
Marcel Schramm 60ebb556cc
Merge tview and femto into cordless, keeping their respective license
* Application#setFocus now avoids unnecessary event-chains
 * A bug has been fixed where the DM-list wasn't focusable via mouse
2020-07-04 16:05:19 +02:00