Re:DuckDuckGo as a TTY
by mlang23 on Thursday October 21, 2021 @01:57AM
(#28940853)
It looks like it doesnt respect $LINES (or something similar). On first try, the top 2 results scrolled off the screen.
[ Parent
| on HN ]
It's a CLI, not a TUI. I put quite a bit of thought into that decision, and whether to integrate a pager. See [1]. The workarounds are (1) limit the number of results per page with -n <num>; (2) use the -r, --reverse option to show the top results last.
It would be nice if there was a way to run a terminal command without auto-scrolling. So often I run something that spits out tons of error messages, only to have to scroll back up again to find out what happened.
Also check if your terminal supports Shift-PgUp/PgDn to scroll up/down a page.
Works in gnome terminal: https://help.gnome.org/users/gnome-terminal/stable/adv-keybo...