Support 'linestyle unicode' table borders
See original GitHub issueDescription
It would be nice if pgcli supported using unicode symbols for table borders, like psql does if one sets \pset linestyle unicode
in .psqlrc. Compare psql output:
with equivalent pg_cli:
Your environment
Ubuntu Linux, pgcli 2.0.2
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Thread: new unicode table border styles for psql : Postgres ...
having to write specialized code each time. I have a idea about sql shell with lua support - but probably as separate application...
Read more >border-style - CSS: Cascading Style Sheets - MDN Web Docs
The border-style shorthand CSS property sets the line style for all four sides of an element's border.
Read more >CSS border-style property - W3Schools
More "Try it Yourself" examples below. Definition and Usage. The border-style property sets the style of an element's four borders. This property can...
Read more >How to Change the Table Border Style in the psql Query Results
We can use the \pset linestyle command to change the line drawing style of the border. It can be set to ascii ,...
Read more >Defining Borders for Tables and Table Cells - LibreOffice Help
Select a line style and color for the selected border style in the Line area. These settings apply to all border lines that...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Unfortunately
fancy_grid
isn’t actually equivalent topsql
’sunicode
display: it puts a grid line between each row, halving the number of records that fit on the screen:psql
withunicode
lines:pgclie
withfancy_grid
:Please can this issue be re-opened for
pgcli
to have a fancy border style that doesn’t include grid lines between each item? ThanksThe good news is that we already support this. You can change the table format in the config file
~/.config/pgcli/config
or at runtime using the\T [fomat_name]
.The format you’re looking for is called
fancy_grid
.