diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-05-22 16:03:04 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-22 16:03:04 (GMT) |
| commit | aefe2e626eeb2f05cda10a17926f8ba9b7a504ca (patch) | |
| tree | d49408a37d65ab1ee30e2ba7887adc1a6b697a6d /Lib/_pyrepl/unix_console.py | |
| parent | ac9163637b028fc4b457f83b1a49b2f7ffbff6e6 (diff) | |
| download | cpython-aefe2e626eeb2f05cda10a17926f8ba9b7a504ca.zip cpython-aefe2e626eeb2f05cda10a17926f8ba9b7a504ca.tar.gz cpython-aefe2e626eeb2f05cda10a17926f8ba9b7a504ca.tar.bz2 | |
[3.13] gh-111201: Add append to screen method to avoid recalculation (GH-119274) (#119405)
(cherry picked from commit c886bece3b3a49f8a0f188aecfc1d6ff89d281e6)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
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 605318c..c213012 100644 --- a/Lib/_pyrepl/unix_console.py +++ b/Lib/_pyrepl/unix_console.py @@ -283,7 +283,7 @@ class UnixConsole(Console): self.__show_cursor() - self.screen = screen + self.screen = screen.copy() self.move_cursor(cx, cy) self.flushoutput() |
