Hacker News new | ask | show | jobs
by mlang23 1700 days ago
It looks like it doesnt respect $LINES (or something similar). On first try, the top 2 results scrolled off the screen.
1 comments

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.

[1] https://github.com/jarun/googler/issues/281

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...