From 14b063cbf1bb11a489d04a31f277edba0fc8893c 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 (#119432) --- Lib/_pyrepl/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/_pyrepl/commands.py b/Lib/_pyrepl/commands.py index 33c6564f640..ed977f84baa 100644 --- a/Lib/_pyrepl/commands.py +++ b/Lib/_pyrepl/commands.py @@ -475,3 +475,4 @@ class disable_bracketed_paste(Command): self.reader.paste_mode = False self.reader.in_bracketed_paste = False self.reader.dirty = True + self.reader.calc_screen = self.reader.calc_complete_screen