-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
csv
format disables PAGER
setting altogether
#516
Comments
How are you piping it to |
@suimong This worked as expected for me: $ usql -c 'select "blah";' --csv --no-rc ~/x.sqlite3 |visidata Can you elaborate more on the version of |
@kenshaw sorry for not stating the problem clearly. Directly piping the result into |
Were you aware you could do this? sq:x.sqlite3=> select "blah" \g | visidata The schema info commands ( |
I'm using usql 0.19.15 on NixOS 24.11. The terminal is alacritty |
Also, sorry, this also works: sq:x.sqlite3=>select "blah" \gx (format=csv) | visidata Any of the sq:x.sqlite3=> select "blah" \g (border=2 footer=off)
+--------+
| "blah" |
+--------+
| blah |
+--------+ |
Yes, I know I can explicitly pipe query results into whatever CLI program of my choice. What I'm talking about is implicitly use the |
Also, thanks for letting me know the |
I'll check/look to see if the |
Not sure if this is a bug report or feature request. When i set the output format to csv, whether through
\pset format csv
or throughusql --csv
, the output will not be piped in to the pager, even if i\pset pager always
. My use case is to usevisidata
as the pager to navigate the query result.Thanks for this wonderful project.
The text was updated successfully, but these errors were encountered: