Debug shell support command history

This commit is contained in:
Julien Duponchelle committed 2016-09-01 13:45:56 +02:00
1 parent 4624c7433c
commit f216422d0f
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -169,7 +169,7 @@ class WebServer:
except ImportError:
log.error("Unable to start a shell: the ptpython module must be installed!")
return
yield from embed(globals(), locals(), return_asyncio_coroutine=True, patch_stdout=True)
yield from embed(globals(), locals(), return_asyncio_coroutine=True, patch_stdout=True, history_filename=".gns3_shell_history")
def _exit_handling(self):
"""