From 15df025a5a695a892a59763180b06cd4cb114761 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Fri, 13 Mar 2020 16:55:08 +0000 Subject: [PATCH] version bump --- pyproject.toml | 4 ++-- rich/console.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 23075045..28bc7c75 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,8 +2,8 @@ name = "rich" homepage = "https://github.com/willmcgugan/rich" documentation = "https://rich.readthedocs.io/en/latest/" -version = "0.7.0" -description = "Render rich text, tables, syntax highlighting, markdown and more to the terminal" +version = "0.7.1" +description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal" authors = ["Will McGugan "] license = "MIT" readme = "README.md" diff --git a/rich/console.py b/rich/console.py index 5c0e1e07..bcbac906 100644 --- a/rich/console.py +++ b/rich/console.py @@ -840,7 +840,8 @@ class Console: color_system = self._color_system buffer = self._buffer[:] if self.record: - self._record_buffer.extend(buffer) + with self._record_buffer_lock: + self._record_buffer.extend(buffer) del self._buffer[:] for line in Segment.split_and_crop_lines(buffer, self.width, pad=False): for text, style in line: