1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-18 06:18:08 +00:00

Windows console bugfix tests

This commit is contained in:
ziajka 2017-08-29 10:08:10 +02:00
parent a7297ffca4
commit 4e3eee33fc

View File

@ -190,6 +190,11 @@ class ShellConnection(TelnetConnection):
@asyncio.coroutine @asyncio.coroutine
def connected(self): def connected(self):
# prompt_toolkit internally checks if it's on windows during output rendering but
# we need to force that we use Vt100_Output not Win32_Output
from prompt_toolkit import renderer
renderer.is_windows = lambda: False
def get_size(): def get_size():
return self._size return self._size