This repository has been archived by the owner on Mar 5, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 534
Feature: Results should be visible in any terminal size #207
Comments
Each result occupies an unknown number of lines, so this is not possible. |
|
@zmwangx strongly disagree, since you can always find it before printing out. @jarun I am unsure of the typical What I'm proposing is having some special parameter that instead of trying to manually figuring out how many results should be shown, the program would use current terminal's properties in doing the job for the user. |
Sure, please submit a patch, and we'll have a look. |
jarun
added a commit
that referenced
this issue
Feb 5, 2018
We have explained in #207 our reservations regarding automatically adjusting the number of search results according to the terminal size in googler. However, we have the option to show the domain name only instead of the complete URL. This is a visual change and many modern browsers do it. We cannot make it default at this stage of the project. So I chose to use an environment variable. There's a new omniprompt switch (`u`) to toggle it at runtime.
Closed
This was referenced Apr 21, 2019
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently, the default is always showing 10 results, whereas this could be dynamically set through interpretting the size of the terminal window.
It seems that
tput lines
does the job (tested onxterm
,gnome-terminal
, and in separate tty - ctrl+alt+f3 i.e.), thus this could be estimated beforehandThe text was updated successfully, but these errors were encountered: