From 4968925e69c187e0492e3150512668f12234b526 Mon Sep 17 00:00:00 2001 From: Lysandros Nikolaou Date: Wed, 22 May 2024 17:02:33 -0400 Subject: [PATCH] gh-111201: Use calc_complete_screen after bracketed paste in PyREPL (GH-119432) (cherry picked from commit 14b063cbf1bb11a489d04a31f277edba0fc8893c) Co-authored-by: Lysandros Nikolaou --- Lib/_pyrepl/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/_pyrepl/commands.py b/Lib/_pyrepl/commands.py index 33c6564f640421..ed977f84baac4e 100644 --- a/Lib/_pyrepl/commands.py +++ b/Lib/_pyrepl/commands.py @@ -475,3 +475,4 @@ def do(self) -> None: self.reader.paste_mode = False self.reader.in_bracketed_paste = False self.reader.dirty = True + self.reader.calc_screen = self.reader.calc_complete_screen