(self)
| 133 | |
| 134 | @property |
| 135 | def current_line(self): |
| 136 | self._check_for_expired_message() |
| 137 | if self.in_prompt: |
| 138 | return self.prompt + self._current_line |
| 139 | if self.in_confirm: |
| 140 | return self.prompt |
| 141 | if self._message: |
| 142 | return self._message |
| 143 | if self.permanent_stack: |
| 144 | return self.permanent_stack[-1] |
| 145 | return "" |
| 146 | |
| 147 | @property |
| 148 | def should_show_message(self): |
nothing calls this directly
no test coverage detected