Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
UCC
virtualsnack
Commits
d67bac06
Commit
d67bac06
authored
Oct 11, 2014
by
Mark Tearle
Browse files
Initial base code from nypyscreen example
parent
264ef209
Changes
1
Hide whitespace changes
Inline
Side-by-side
virtualsnack.py
0 → 100755
View file @
d67bac06
#!/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
()
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment