mirror of
https://github.com/Textualize/rich.git
synced 2025-08-04 10:08:40 +00:00
Fix a merge issue
This commit is contained in:
parent
a55b1b8558
commit
96fc0a6cd5
1 changed files with 7 additions and 11 deletions
|
@ -1970,11 +1970,6 @@ class Console:
|
|||
del self._buffer[:]
|
||||
return
|
||||
with self._lock:
|
||||
if self.record:
|
||||
with self._record_buffer_lock:
|
||||
self._record_buffer.extend(self._buffer[:])
|
||||
|
||||
if self._buffer_index == 0:
|
||||
if self.record:
|
||||
with self._record_buffer_lock:
|
||||
self._record_buffer.extend(
|
||||
|
@ -1985,6 +1980,7 @@ class Console:
|
|||
]
|
||||
)
|
||||
|
||||
if self._buffer_index == 0:
|
||||
if self.is_jupyter: # pragma: no cover
|
||||
from .jupyter import display
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue