From 1e78d52938c84f987fa29e3b8dfa932c0ab8c456 Mon Sep 17 00:00:00 2001 From: Costa Shulyupin Date: Sun, 9 May 2021 15:49:37 +0300 Subject: [PATCH] lines_limit --- srcxray.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/srcxray.py b/srcxray.py index 4bfbb7c..7775b32 100755 --- a/srcxray.py +++ b/srcxray.py @@ -48,8 +48,7 @@ ignored = set() show_ignored = False level_limit = 6 lines = 0 -lines_limit = 20 -print(lines_limit) +lines_limit = int(os.popen('stty size', 'r').read().split()[0]) or 30 cflow_structs = False scaled = False verbose = False