diff options
author | Max Rothman <max@collegevine.com> | 2018-05-15 13:42:21 -0400 |
---|---|---|
committer | Max Rothman <max@collegevine.com> | 2018-09-23 17:02:08 -0400 |
commit | 172c9cd271afe8fe415850b996da2e50ad3b4270 (patch) | |
tree | 2c8ae73eb5500e4f4d95d006981dd9267a5a86a1 /.gitignore | |
parent | 7889b2838f8890122d0f9c4bc141e03cfc25d003 (diff) |
Respect \pset pager on expected behavior
"\pset pager" has three possible values: "always", "on", and "off".
pgcli previously treated all non-"off" values as "always". This change
implements the expected behavior, which is to use the pager when the
output is larger than the terminal height (See \pset pager in
https://www.postgresql.org/docs/9.2/static/app-psql.html). Pgcli adds to
this by also using the pager when the output is wider than the terminal
width.
Fixes #813
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -66,3 +66,6 @@ target/ # Generated Packages *.deb *.rpm + +.vscode/ +venv/ |