-
When I use the the But when I press Is this intended behaviour? With I am using MacOS Big Sur, Terminal.app, and |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hi, the keypress Q is implemented by your PAGER program, not by gh. Check your How Finally, you might not want to use a pager program at all for any gh output. To disable pager, do |
Beta Was this translation helpful? Give feedback.
-
Tried using Is there any other way to make gh output to stdout? |
Beta Was this translation helpful? Give feedback.
-
For me using
|
Beta Was this translation helpful? Give feedback.
Hi, the keypress Q is implemented by your PAGER program, not by gh. Check your
$PAGER
environment variable or thegh config get pager
setting. I'm guessing that your pager isless
.How
less
behaves is dictated by the$LESS
environment variable, if one exists. I'm guessing yours is set toLESS=FR
somewhere in your shell configuration files. To avoid clearing your screen when you exit, you want to add "X" to the list of flags toless
. You can do that by settingLESS=FRX
(the default value we use if$LESS
isn't set), or by doinggh config set pager 'less -X'
.Finally, you might not want to use a pager program at all for any gh output. To disable pager, do
gh config set pager cat
. The output …