Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/lambdaisland/ansi.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
of :vga :cmd :osx :putty :mirc :xterm :ubuntu. For finer control bind to
*color-scheme* directly."
[name & body]
`(binding [*color-scheme* (get color-schemes name)]
`(binding [*color-scheme* (get color-schemes ~name)]
~@body))

(defn get-color [n]
Expand Down Expand Up @@ -128,7 +128,7 @@
5 (let [[color bold?] (color-8-bit (first more))]
[(merge {type color} (if bold? {:bold true}))
(next more)])
2 [{:foreground (color-24-bit (take 3 more))}
2 [{type (color-24-bit (take 3 more))}
(nthnext more 3)])))

(defn str-split
Expand Down