We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f55a556 + 459b3fe commit 2b8de78Copy full SHA for 2b8de78
src/lambdaisland/ansi.cljc
@@ -67,7 +67,7 @@
67
of :vga :cmd :osx :putty :mirc :xterm :ubuntu. For finer control bind to
68
*color-scheme* directly."
69
[name & body]
70
- `(binding [*color-scheme* (get color-schemes name)]
+ `(binding [*color-scheme* (get color-schemes ~name)]
71
~@body))
72
73
(defn get-color [n]
@@ -128,7 +128,7 @@
128
5 (let [[color bold?] (color-8-bit (first more))]
129
[(merge {type color} (if bold? {:bold true}))
130
(next more)])
131
- 2 [{:foreground (color-24-bit (take 3 more))}
+ 2 [{type (color-24-bit (take 3 more))}
132
(nthnext more 3)])))
133
134
(defn str-split
0 commit comments