Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
poezio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Maxime Buquet
poezio
Commits
d7e2a460
Verified
Commit
d7e2a460
authored
Dec 19, 2014
by
mathieui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove an useless input method which was needed with threads
parent
f0dac14e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
src/windows/input_placeholders.py
src/windows/input_placeholders.py
+0
-11
No files found.
src/windows/input_placeholders.py
View file @
d7e2a460
...
...
@@ -69,17 +69,6 @@ class YesNoInput(Win):
if
key
.
lower
()
in
self
.
key_func
:
self
.
key_func
[
key
]()
def
prompt
(
self
):
"""Monopolizes the input while waiting for a recognized keypress"""
def
cb
(
key
):
if
key
in
self
.
key_func
:
self
.
key_func
[
key
]()
if
self
.
value
is
None
:
# We didn’t finish with this prompt, continue monopolizing
# it again until value is set
keyboard
.
continuation_keys_callback
=
cb
keyboard
.
continuation_keys_callback
=
cb
def
on_delete
(
self
):
return
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