Merge pull request #4250 from bbhoss/devel
Allow storing input from user in a pause promptpull/4420/head
commit
a002a24973
|
@ -101,7 +101,7 @@ class ActionModule(object):
|
|||
# Clear out any unflushed buffered input which would
|
||||
# otherwise be consumed by raw_input() prematurely.
|
||||
tcflush(sys.stdin, TCIFLUSH)
|
||||
raw_input(self.prompt)
|
||||
self.result['user_input'] = raw_input(self.prompt)
|
||||
except KeyboardInterrupt:
|
||||
while True:
|
||||
print '\nAction? (a)bort/(c)ontinue: '
|
||||
|
|
Loading…
Reference in New Issue