Skip to content

Commit db62a7b

Browse files
authored
Merge pull request #119 from clj-commons/hls/bigger-print-level
Change default for *print-depth* to 5
2 parents c91ce97 + e3d0d47 commit db62a7b

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

CHANGES.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.5.1 - UNRELEASED
2+
3+
4+
15
## 2.5.0 - 27 Mar 2024
26

37
*BREAKING CHANGES*

src/clj_commons/ansi.clj

+3-3
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,8 @@
248248
(.append buffer (str input))
249249
state')))
250250

251-
(defn- compose* [inputs]
251+
(defn- compose*
252+
[inputs]
252253
(let [initial-font {:foreground "39"
253254
:background "49"
254255
:bold "22"
@@ -288,7 +289,7 @@
288289
Characteristic | Values
289290
--- |---
290291
foreground color | `red` or `bright-red` (for each color)
291-
background color | same as foreground color
292+
background color | same as foreground color, with a `-bg` suffix (e.g., `red-bg`)
292293
boldness | `bold`, `faint`, or `plain`
293294
italics | `italic` or `roman`
294295
inverse | `inverse` or `normal`
@@ -306,7 +307,6 @@
306307
The order of the terms does not matter. Behavior for conflicting terms (e.g., `:blue.green.black`)
307308
is not defined.
308309
309-
310310
Font defs apply on top of the font def of the enclosing span, and the outer span's font def
311311
is restored at the end of the inner span, e.g. `[:red \" RED \" [:bold \"RED/BOLD\"] \" RED \"]`.
312312

src/clj_commons/format/exceptions.clj

+2-2
Original file line numberDiff line numberDiff line change
@@ -525,8 +525,8 @@
525525
(def ^{:added "2.5.0"
526526
:dynamic true}
527527
*print-level*
528-
"The depth to which to pretty-printed nested collections; defaults to 2."
529-
2)
528+
"The depth to which to pretty-printed nested collections; defaults to 5."
529+
5)
530530

531531

532532
(defn- format-property-value

0 commit comments

Comments
 (0)