mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-02-06 16:23:49 +02:00
Windows console bugfix tests
This commit is contained in:
parent
a7297ffca4
commit
4e3eee33fc
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user