MultiMUD / clojure-lanterna

A Clojurey wrapper around the Lanterna terminal output library.
http://multimud.github.io/clojure-lanterna
217 stars 50 forks source link

Fix Java interop vararg issue with styles #8

Closed CmdrDats closed 8 years ago

CmdrDats commented 11 years ago

Hi there,

So, after a bit of poking around, I figured out the interop problem with styles:

applySGR is a typed vararg function, so you need to call it like: (.applySGR term (into-array Terminal$SGR [Terminal$SGR/ENTER_BOLD]))

Bit of a pain, but anyhow..

Enjoy :)

sjl commented 8 years ago

Merged, thanks!