mirror of
https://github.com/python/cpython.git
synced 2025-10-22 09:23:54 +00:00
GH-130328: Speedup pasting in legacy console on Windows (gh-133728)
This commit is contained in:
parent
2fd09b0110
commit
91b48868a8
5 changed files with 26 additions and 12 deletions
|
@ -20,6 +20,7 @@
|
|||
def unix_console(events, **kwargs):
|
||||
console = UnixConsole()
|
||||
console.get_event = MagicMock(side_effect=events)
|
||||
console.getpending = MagicMock(return_value=Event("key", ""))
|
||||
|
||||
height = kwargs.get("height", 25)
|
||||
width = kwargs.get("width", 80)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue