Commit d67bac06 authored by Mark Tearle's avatar Mark Tearle

Initial base code from nypyscreen example

parent 264ef209
#!/usr/bin/env python
import npyscreen
class VirtualSnack(npyscreen.FormMutt):
MAIN_WIDGET_CLASS = npyscreen.MultiLineEdit
class VirtualSnackApp(npyscreen.NPSApp):
def main(self):
F = VirtualSnack()
F.wStatus1.value = "Virtual Snack"
F.wStatus2.value = "Last Command"
F.edit()
if __name__ == "__main__":
App = VirtualSnackApp()
App.run()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment