Skip to content

Commit

Permalink
Use default instead of bold for context headers
Browse files Browse the repository at this point in the history
  • Loading branch information
PEZ committed Nov 25, 2024
1 parent 7ddc0f5 commit 6e16d4f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/pez/baldr.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
(:require [cljs.test]
[clojure.string :as string]))

(defn- bold [text]
(str "\033[1m" text "\033[22m"))

(defn- default [text]
(str "\033[39m" text "\033[22m"))

Expand Down Expand Up @@ -36,7 +33,7 @@
:printouts (cond-> []
(seq new-contexts) (into (map-indexed (fn [idx ctx]
(str (indent (+ common-prefix-length idx 2))
(bold ctx)))
(default ctx)))
new-contexts))
:always (conj (str (indent (+ 2 (count contexts)))
(str (bullet-color bullet) " " (color message)))))}))
Expand Down

0 comments on commit 6e16d4f

Please sign in to comment.