mirror of
https://github.com/python/cpython.git
synced 2025-09-15 05:06:12 +00:00
[3.13] gh-111201: Add append to screen method to avoid recalculation (GH-119274) (#119405)
(cherry picked from commit c886bece3b
)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
This commit is contained in:
parent
ac9163637b
commit
aefe2e626e
4 changed files with 43 additions and 14 deletions
|
@ -283,7 +283,7 @@ class UnixConsole(Console):
|
|||
|
||||
self.__show_cursor()
|
||||
|
||||
self.screen = screen
|
||||
self.screen = screen.copy()
|
||||
self.move_cursor(cx, cy)
|
||||
self.flushoutput()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue