Comments (13)
Can you describe more your idea? I am using pspg years from psql and I hadn't like this necessity.
How do you use pspg?
from pspg.
I run pspg from within psql, and to me it looks cleaner if the bottom line isn't a mix of the psql command prompt and the key hint bar when I exit pspg.
from pspg.
from pspg.
I'm using FreeBSD current, MATE, Alacritty, and screen. See https://ximalas.info/~trond/pspg/pspg-001.png.
from pspg.
from pspg.
Actually, -X isn't that bad. Yes, it strips off the colours when I hit the q key, but the bottom line is erased before psql displays its command prompt.
from pspg.
now you can use options --at-end-clean, --at-end-reset and --at-end-erase-line.
export PSQL_PAGER="pspg --at-end-erase-line"
psql ...
please, check
from pspg.
I tried --at-end-erase-line and it's perfect. There is a typo for --at-end-erase-line in the help text, args.c, line 381. https://github.com/okbob/pspg/blob/master/src/args.c#L381
from pspg.
Maybe saying on exit is better than saying at end.
from pspg.
from pspg.
from pspg.
This looks good to me. I hope others find this as a useful change.
from pspg.
from pspg.
Related Issues (20)
- Question: How does "Upper case sentitive search work"? HOT 4
- Man pages? HOT 1
- 5.5.6 + master: build fails HOT 5
- Pspg and postgis columns HOT 2
- Some styles cause shell styles to break HOT 8
- Support for Ubuntu 18.04? HOT 11
- Segfault on empty input HOT 3
- tabs in fields have adverse effects on columns boundaries and alignment HOT 8
- Feature req: freeze-columns as a config file setting HOT 3
- pspg crashes when copying long text HOT 9
- segfault when watching non existing --querystream file HOT 4
- Saving to CSV on large number of rows only exports partial rows HOT 22
- Sort doesn't work... HOT 3
- Feature: Sort multiple columns individually as a sequence of sort steps HOT 4
- difference in pgcli and psql table behavior in pspg HOT 4
- Feature: Handle long columns. Add option for max column width, and keybindings to scroll within the long column, etc. HOT 2
- NullPointerException when running pspg in sqlcl HOT 3
- Exactly what data does pspg receive from psql? HOT 1
- warning: integer overflow in expression of type ‘long int’ results in ‘0’ HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pspg.