2020-02-08 10:02:39 -06:00
|
|
|
"""UI elements for the npytabletracker application."""
|
|
|
|
import npyscreen
|
|
|
|
|
2020-02-08 19:31:38 -06:00
|
|
|
from npytabletracker.cmd import ManagementActionController
|
|
|
|
from npytabletracker.data import TableState
|
|
|
|
|
|
|
|
|
2020-02-08 10:02:39 -06:00
|
|
|
class TableTrackerDisplay(npyscreen.FormMuttActiveTraditional):
|
|
|
|
"""Create the high level form, which is organized like mutt/irssi."""
|
2020-02-08 19:31:38 -06:00
|
|
|
|
|
|
|
ACTION_CONTROLLER = ManagementActionController
|
|
|
|
DATA_CONTROLER = TableState
|