console: Add bypass keypress to disable paging

Add support for pressing 'Q' to put the pager into bypass mode,disabling
further paging for the current session.

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-08-22 16:28:10 -06:00
parent e617ccfc40
commit c7ba355d1f
4 changed files with 70 additions and 10 deletions

View File

@@ -72,6 +72,9 @@ When activated, the pager pauses at the end of each 'page' (screenful) of
output, shows a prompt ": Press SPACE to continue" and lets the user read the
output. To continue to the next page, press the SPACE key.
The pager can be bypassed by pressing 'Q' at the prompt. This disables the pager
until the 'pager' environment variable is given a new value.
Page Size Configuration
~~~~~~~~~~~~~~~~~~~~~~~