super basic skeleton, just loads an irssi-like UI

it doesn't do anything at the moment
This commit is contained in:
Brian S. Stephan 2020-02-08 10:02:39 -06:00
parent 5edfc62f27
commit 8b6b93e87d
3 changed files with 21 additions and 0 deletions

bin/tabletracker Executable file
View File

@ -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()

View File

npytabletracker/ Normal file
View File

@ -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."""