Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
UCC
virtualsnack
Commits
7a19511e
Commit
7a19511e
authored
Oct 15, 2014
by
Mark Tearle
Browse files
Change quit to Control-Q
parent
a9edae46
Changes
1
Show whitespace changes
Inline
Side-by-side
virtualsnack.py
View file @
7a19511e
...
...
@@ -55,7 +55,7 @@ class VirtualSnack(npyscreen.Form):
self
.
date_widget
=
self
.
add
(
npyscreen
.
FixedText
,
value
=
datetime
.
now
().
ctime
(),
editable
=
False
)
self
.
date_widget
.
value
=
"Hello"
self
.
add_handlers
({
"^
T
"
:
self
.
exit_application
})
self
.
add_handlers
({
"^
Q
"
:
self
.
exit_application
})
self
.
sentfield
=
self
.
add
(
npyscreen
.
TitleText
,
name
=
"Sent:"
,
value
=
""
,
editable
=
False
)
self
.
receivedfield
=
self
.
add
(
npyscreen
.
TitleText
,
name
=
"Received:"
,
value
=
""
,
editable
=
False
)
...
...
Write
Preview
Markdown
is supported
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