diff --git a/MooreScripts/python/MooreScripts/testbench/emulator.py b/MooreScripts/python/MooreScripts/testbench/emulator.py index 175a3fb4a00118c20acbaf745f4dc8ab030ae44f..05576f6e28d9c554b70906331f6f6b1c804f257e 100644 --- a/MooreScripts/python/MooreScripts/testbench/emulator.py +++ b/MooreScripts/python/MooreScripts/testbench/emulator.py @@ -313,7 +313,8 @@ async def async_input(prompt=None): if prompt is not None: print(prompt, end='', flush=True) line = await reader.readline() - transport.close() + # FIXME we can't really close here as a second call to async_input fails + # transport.close() return line.decode("utf8").rstrip("\n")