Show More
@@ -1659,7 +1659,9 b' class ui(object):' | |||||
1659 | if not r: |
|
1659 | if not r: | |
1660 | r = default |
|
1660 | r = default | |
1661 | if self.configbool(b'ui', b'promptecho'): |
|
1661 | if self.configbool(b'ui', b'promptecho'): | |
1662 | self._writemsg(self._fmsgout, r, b"\n", type=b'promptecho') |
|
1662 | self._writemsg( | |
|
1663 | self._fmsgout, r or b'', b"\n", type=b'promptecho' | |||
|
1664 | ) | |||
1663 | return r |
|
1665 | return r | |
1664 | except EOFError: |
|
1666 | except EOFError: | |
1665 | raise error.ResponseExpected() |
|
1667 | raise error.ResponseExpected() |
General Comments 0
You need to be logged in to leave comments.
Login now