Searched refs:get_terminal_size (Results 1 - 11 of 11) sorted by relevance
/third_party/mesa3d/bin/ |
H A D | meson-options.py | 3 from os import get_terminal_size namespace 8 (COLUMNS, _) = get_terminal_size()
|
/third_party/littlefs/scripts/ |
H A D | watch.py | 95 maxlen = shutil.get_terminal_size((80, 5))[1] 158 w, h = shutil.get_terminal_size((80, 5))
|
H A D | tailpipe.py | 59 maxlen = shutil.get_terminal_size((80, 5))[1]
|
H A D | tracebd.py | 81 maxlen = shutil.get_terminal_size((80, 5))[1] 653 width_ = min(80, shutil.get_terminal_size((80, 5))[0]) 657 width_ = shutil.get_terminal_size((80, 5))[0] 664 height_ = shutil.get_terminal_size((80, 5))[1]
|
H A D | plot.py | 195 maxlen = shutil.get_terminal_size((80, 5))[1] 1016 width_ = min(80, shutil.get_terminal_size((80, None))[0]) 1020 width_ = shutil.get_terminal_size((80, None))[0] 1027 height_ = shutil.get_terminal_size((None,
|
/third_party/mesa3d/src/gallium/tools/trace/ |
H A D | pytracediff.py | 280 defwidth = os.get_terminal_size().columns
|
/third_party/python/Lib/ |
H A D | shutil.py | 57 "ignore_patterns", "chown", "which", "get_terminal_size", 1394 def get_terminal_size(fallback=(80, 24)): function 1403 by invoking os.get_terminal_size. 1427 size = os.get_terminal_size(sys.__stdout__.fileno()) 1430 # os.get_terminal_size() is unsupported
|
H A D | argparse.py | 173 width = shutil.get_terminal_size().columns
|
/third_party/python/Lib/test/ |
H A D | test_shutil.py | 2633 """Check if get_terminal_size() returns a meaningful value. 2638 size = shutil.get_terminal_size() 2648 size = shutil.get_terminal_size() 2654 size = shutil.get_terminal_size() 2661 size = shutil.get_terminal_size() 2666 @unittest.skipUnless(hasattr(os, 'get_terminal_size'), 2667 'need os.get_terminal_size()') 2685 actual = shutil.get_terminal_size() 2697 size = shutil.get_terminal_size(fallback=(10, 20)) 2705 size = shutil.get_terminal_size(fallbac [all...] |
H A D | test_os.py | 3664 @unittest.skipUnless(hasattr(os, 'get_terminal_size'), "requires os.get_terminal_size") 3667 """Check if get_terminal_size() returns a meaningful value. 3673 size = os.get_terminal_size() 3687 stty actually tests stdin, so get_terminal_size is invoked on 3688 stdin explicitly. If stty succeeded, then get_terminal_size() 3703 actual = os.get_terminal_size(sys.__stdin__.fileno())
|
/third_party/python/Lib/test/support/ |
H A D | __init__.py | 583 padding, _ = shutil.get_terminal_size()
|
Completed in 33 milliseconds