virtualsnack.py 399 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/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()