bat is the king of pagers. https://github.com/sharkdp/bat
I made a terminal pager
11–20 of 51 posts
Re: I made a terminal pager
#12[flagged]
Author here! If I were to give this post a longer title, it would be "I made a terminal pager because I needed a really good viewport component for my Go TUIs, then realized that a TUI viewport is just a mini terminal pager and I want the same text navigation and manipulation experience everywhere that I encounter long text blocks in my terminal". I take no issue at all with `less`, it's super powerful and configurab…
Re: I made a terminal pager
#13Re: I made a terminal pager
#14Would love if anyone has thoughts or suggestions. It was quick and dirty, and works fine for my use, but I'm not sure where else I could take this, how else I might splice apart the problem, what else would suit it. https://tangled.org/jauntywk.bsky.social/picker-power
Re: I made a terminal pager
#15I think the killer feature for me would be refresh. I get that this can't work for piped input, but I want `git diff` to show in a pager with a refresh button that holds my place. fzf supports both refresh and piped input, so perhaps there's some ideas there that could be leveraged.
Re: I made a terminal pager
#16Re: I made a terminal pager
#17bat is the king of pagers. https://github.com/sharkdp/bat
Re: I made a terminal pager
#18I am definitely waiting for a "modern less replacement" in the same vein as fd, sd, fzf, and the rest of the under-20yo cli crew. I get that "less" is reasonably maintained still. I think the killer feature for me would be refresh. I get that this can't work for piped input, but I want `git diff` to show in a pager with a refresh button that holds my place. fzf supports both refresh and piped input, so perhaps there'…
Re: I made a terminal pager
#19If I remember correctly, `gum` also provides a pager feature: https://github.com/charmbracelet/gum