You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
438 B
Python
18 lines
438 B
Python
#!/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()
|