diff --git a/CHANGES.md b/CHANGES.md index b3c4597..e858d1e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,7 @@ +## 2.5.1 - UNRELEASED + + + ## 2.5.0 - 27 Mar 2024 *BREAKING CHANGES* diff --git a/src/clj_commons/ansi.clj b/src/clj_commons/ansi.clj index ddfa7cc..a50cfe5 100644 --- a/src/clj_commons/ansi.clj +++ b/src/clj_commons/ansi.clj @@ -248,7 +248,8 @@ (.append buffer (str input)) state'))) -(defn- compose* [inputs] +(defn- compose* + [inputs] (let [initial-font {:foreground "39" :background "49" :bold "22" @@ -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` @@ -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 \"]`. diff --git a/src/clj_commons/format/exceptions.clj b/src/clj_commons/format/exceptions.clj index f24f20a..7f34626 100644 --- a/src/clj_commons/format/exceptions.clj +++ b/src/clj_commons/format/exceptions.clj @@ -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