super basic skeleton, just loads an irssi-like UI

it doesn't do anything at the moment
master
Brian S. Stephan 3 years ago
parent 5edfc62f27
commit 8b6b93e87d

@ -0,0 +1,15 @@
#!/usr/bin/env python3
"""Bootstrap the application and start it."""
import npyscreen
from npytabletracker.ui import TableTrackerDisplay
class TableTrackerApplication(npyscreen.NPSAppManaged):
"""Combine the pieces of the application."""
def onStart(self):
"""Link necessary UI elements and state management and whatnot."""
self.addForm('MAIN', TableTrackerDisplay)
app = TableTrackerApplication()
app.run()

@ -0,0 +1,6 @@
"""UI elements for the npytabletracker application."""
import npyscreen
class TableTrackerDisplay(npyscreen.FormMuttActiveTraditional):
"""Create the high level form, which is organized like mutt/irssi."""
pass
Loading…
Cancel
Save