From 0aa97153697e58d575660af9881cb43d21897c13 Mon Sep 17 00:00:00 2001 From: imarom Date: Tue, 5 Jul 2016 11:16:46 +0300 Subject: TUI integrated with console --- scripts/automation/trex_control_plane/stl/console/trex_console.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/automation/trex_control_plane/stl/console/trex_console.py') 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): -- cgit 1.2.3-korg