summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/console/trex_console.py
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-07-05 11:16:46 +0300
committerimarom <imarom@cisco.com>2016-07-05 15:43:11 +0300
commit0aa97153697e58d575660af9881cb43d21897c13 (patch)
tree918a14016a6167184849c4e964026ebf2f78a241 /scripts/automation/trex_control_plane/stl/console/trex_console.py
parentc5d7c2ee9859b5ba772c6a9be46ced61f2ad25c3 (diff)
TUI integrated with console
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/console/trex_console.py')
-rwxr-xr-xscripts/automation/trex_control_plane/stl/console/trex_console.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/stl/console/trex_console.py b/scripts/automation/trex_control_plane/stl/console/trex_console.py
index ab70d357..4bfeb2f3 100755
--- a/scripts/automation/trex_control_plane/stl/console/trex_console.py
+++ b/scripts/automation/trex_control_plane/stl/console/trex_console.py
@@ -19,6 +19,7 @@ limitations under the License.
from __future__ import print_function
import subprocess
+import threading
import cmd
import json
import ast
@@ -590,7 +591,7 @@ class TRexConsole(TRexGeneralCmd):
with self.stateless_client.logger.supress():
- self.tui.show()
+ self.tui.show(self)
def help_tui (self):