Skip to content

Commit

Permalink
Merge pull request #119 from clj-commons/hls/bigger-print-level
Browse files Browse the repository at this point in the history
Change default for *print-depth* to 5
  • Loading branch information
hlship authored Apr 12, 2024
2 parents c91ce97 + e3d0d47 commit db62a7b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.5.1 - UNRELEASED



## 2.5.0 - 27 Mar 2024

*BREAKING CHANGES*
Expand Down
6 changes: 3 additions & 3 deletions src/clj_commons/ansi.clj
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@
(.append buffer (str input))
state')))

(defn- compose* [inputs]
(defn- compose*
[inputs]
(let [initial-font {:foreground "39"
:background "49"
:bold "22"
Expand Down Expand Up @@ -288,7 +289,7 @@
Characteristic | Values
--- |---
foreground color | `red` or `bright-red` (for each color)
background color | same as foreground color
background color | same as foreground color, with a `-bg` suffix (e.g., `red-bg`)
boldness | `bold`, `faint`, or `plain`
italics | `italic` or `roman`
inverse | `inverse` or `normal`
Expand All @@ -306,7 +307,6 @@
The order of the terms does not matter. Behavior for conflicting terms (e.g., `:blue.green.black`)
is not defined.
Font defs apply on top of the font def of the enclosing span, and the outer span's font def
is restored at the end of the inner span, e.g. `[:red \" RED \" [:bold \"RED/BOLD\"] \" RED \"]`.
Expand Down
4 changes: 2 additions & 2 deletions src/clj_commons/format/exceptions.clj
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,8 @@
(def ^{:added "2.5.0"
:dynamic true}
*print-level*
"The depth to which to pretty-printed nested collections; defaults to 2."
2)
"The depth to which to pretty-printed nested collections; defaults to 5."
5)


(defn- format-property-value
Expand Down

0 comments on commit db62a7b

Please sign in to comment.