Skip to content

Commit

Permalink
astf: remove the readline dependency from ASTF API
Browse files Browse the repository at this point in the history
Signed-off-by: Hanoh Haim <[email protected]>
  • Loading branch information
hhaim committed Oct 3, 2021
1 parent 7f9e8b0 commit 34d6148
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from trex.common.trex_types import TRexError
from trex.console.trex_tui import TrexTUI
from trex.utils.text_opts import format_num, red, green
from trex.utils import text_tables

Expand All @@ -13,10 +12,7 @@ def __init__(self, rpc):

@property
def max_panel_size(self):
if TrexTUI.has_instance():
# 19 rows is for header, footer, spaces etc.
return TrexTUI.MIN_ROWS-19
return 0
return 45-19


@property
Expand Down

0 comments on commit 34d6148

Please sign in to comment.