Skip to content

Commit 3b4f46b

Browse files
authored
Merge pull request #154 from clj-commons/hls/20250905-tighter-table
Reduce extra spacing around borders in the default table style
2 parents 81405c9 + f5de78d commit 3b4f46b

File tree

4 files changed

+17
-13
lines changed

4 files changed

+17
-13
lines changed

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 3.6.4 -- UNRELEASED
2+
3+
* The default layout for tables has been tightened up
4+
5+
16
## 3.6.3 -- 12 Aug 2025
27

38
* Restore the `io.aviso.exception` and `io.aviso.repl shim` namespaces

docs/images/binary-output.png

335 KB
Loading

docs/images/default-table.png

15 KB
Loading

src/clj_commons/format/table.clj

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -81,20 +81,20 @@
8181
{:header-font :bold
8282
:hbar ""
8383
:header? true
84-
:header-left ""
85-
:header-sep "─┬─"
86-
:header-right ""
84+
:header-left ""
85+
:header-sep ""
86+
:header-right ""
8787
:divider? true
88-
:divider-left ""
89-
:divider-sep "─┼─"
90-
:divider-right ""
91-
:row-left " "
92-
:row-sep ""
93-
:row-right " "
88+
:divider-left ""
89+
:divider-sep ""
90+
:divider-right ""
91+
:row-left ""
92+
:row-sep ""
93+
:row-right ""
9494
:footer? true
95-
:footer-left ""
96-
:footer-sep "─┴─"
97-
:footer-right ""})
95+
:footer-left ""
96+
:footer-sep ""
97+
:footer-right ""})
9898

9999
(def skinny-style
100100
"Removes most of the borders and uses simple characters for column separators."
@@ -294,4 +294,3 @@
294294
(when-not last?
295295
(print footer-sep)))
296296
(println footer-right))))
297-

0 commit comments

Comments
 (0)