diff options
author | Lysandros Nikolaou <lisandrosnik@gmail.com> | 2024-05-21 22:35:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-22 04:35:44 +0200 |
commit | c886bece3b3a49f8a0f188aecfc1d6ff89d281e6 (patch) | |
tree | 43956c1fc6a1df7b0c124fb0c9845ad364f5239a /Lib/_pyrepl/unix_console.py | |
parent | d065edfb66470bbf06367b3570661d0346aa6707 (diff) | |
download | cpython-c886bece3b3a49f8a0f188aecfc1d6ff89d281e6.tar.gz cpython-c886bece3b3a49f8a0f188aecfc1d6ff89d281e6.zip |
gh-111201: Add append to screen method to avoid recalculation (#119274)
Co-authored-by: Ćukasz Langa <lukasz@langa.pl>
Diffstat (limited to 'Lib/_pyrepl/unix_console.py')
-rw-r--r-- | Lib/_pyrepl/unix_console.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/_pyrepl/unix_console.py b/Lib/_pyrepl/unix_console.py index 7c59f48df40..ec7d0636b9a 100644 --- a/Lib/_pyrepl/unix_console.py +++ b/Lib/_pyrepl/unix_console.py @@ -293,7 +293,7 @@ class UnixConsole(Console): self.__show_cursor() - self.screen = screen + self.screen = screen.copy() self.move_cursor(cx, cy) self.flushoutput() |