commit | e46c9cf9f2da83810ce4863576a255b758a5427c | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Apr 29 07:22:03 2025 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue May 27 10:07:41 2025 +0100 |
tree | a62d976124d1554a3b48bb57ea0dfe23a286a043 | |
parent | 2027ddd6058516ad039c672610ff028e8d96c4f6 [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>