Show More
@@ -1786,8 +1786,8 b' class ui:' | |||
|
1786 | 1786 | """ |
|
1787 | 1787 | return self._prompt(msg, default=default) |
|
1788 | 1788 | |
|
1789 | def _prompt(self, msg, **opts): | |
|
1790 | default = opts['default'] | |
|
1789 | def _prompt(self, msg, default=b'y', **opts): | |
|
1790 | opts = {**opts, 'default': default} | |
|
1791 | 1791 | if not self.interactive(): |
|
1792 | 1792 | self._writemsg(self._fmsgout, msg, b' ', type=b'prompt', **opts) |
|
1793 | 1793 | self._writemsg( |
General Comments 0
You need to be logged in to leave comments.
Login now