From 172c9cd271afe8fe415850b996da2e50ad3b4270 Mon Sep 17 00:00:00 2001 From: Max Rothman Date: Tue, 15 May 2018 13:42:21 -0400 Subject: 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 --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 55b4a74f..170585df 100644 --- a/.gitignore +++ b/.gitignore @@ -66,3 +66,6 @@ target/ # Generated Packages *.deb *.rpm + +.vscode/ +venv/ -- cgit v1.2.3