| title | tags | |||
|---|---|---|---|---|
How to Print (keep / retain) Interactive CLI Prompt Information in Your Terminal |
|
Let's say there are commands that you need to run that bring up interactive prompts and if you're like me, you forget what you were looking at within three seconds of it disappearing.
Clicking on the "Leave Group" button will present you with a series of prompts. Speed through them like this:
For example, you run a gh issue list to see a list of the issues that you could work on:
gh issue listYou will be presented with a temporary interactive prompt that looks something like this
And disappears as soon as you (END) it.
The solution? Use | less -F
gh issue list | less -FNow the information is printed out to your terminal!
