summaryrefslogtreecommitdiff
path: root/tools/u_boot_pylib/test_util.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-04-29 07:22:03 -0600
committerSimon Glass <sjg@chromium.org>2025-05-27 10:07:41 +0100
commit1f18e8798fe2f89294925ad3cb5acf1754b080ca (patch)
treea62d976124d1554a3b48bb57ea0dfe23a286a043 /tools/u_boot_pylib/test_util.py
parentf74c6f9a81de1c0c04c578b0e6e2d8b1303d6d43 (diff)
u_boot_pylib: Add a pager
It is useful to have a pager when outputting a lot of text. Add support for this in the terminal library, making use of a context manager. Also add a function to indicate whether the output device is a terminal or not, while we are here, to avoid duplicating this code. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/u_boot_pylib/test_util.py')
0 files changed, 0 insertions, 0 deletions