Method: rich.console.Console.end_capture
Calls: 59, Exceptions: 0, Paths: 1Back
Path 1: 59 calls (1.0)
'' (5) 'Hello\n' (2) '\x1b[?25lStep 0\n\r\x1b[2K\x1b[1A\x1b[2KStep 0\nStep 1\n\r\x1b[2K\x1b[1A\x1b[2K\x1b[1A\x1b[2KStep 0\nStep 1\nStep 2\n\r\x1b[2K\x...
1def end_capture(self) -> str:
2 """End capture mode and return captured string.
3
4 Returns:
5 str: Console output.
6 """
7 render_result = self._render_buffer(self._buffer)
8 del self._buffer[:]
9 self._exit_buffer()
10 return render_result