This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-02
Channels
- # aleph (2)
- # announcements (3)
- # babashka (12)
- # beginners (55)
- # calva (11)
- # clj-http (12)
- # cljs-dev (41)
- # cljtogether (2)
- # clojure (51)
- # clojure-denmark (2)
- # clojure-europe (32)
- # clojure-nl (17)
- # clojure-norway (2)
- # clojure-switzerland (1)
- # clojure-uk (3)
- # clojurescript (34)
- # cursive (20)
- # data-science (3)
- # datahike (23)
- # datomic (3)
- # events (1)
- # fulcro (1)
- # honeysql (4)
- # inf-clojure (2)
- # interop (38)
- # java (3)
- # kaocha (8)
- # lsp (51)
- # luminus (2)
- # malli (2)
- # nextjournal (5)
- # off-topic (21)
- # pedestal (2)
- # polylith (12)
- # re-frame (4)
- # reagent (8)
- # reitit (4)
- # releases (1)
- # ring (4)
- # shadow-cljs (179)
- # spacemacs (2)
- # specter (1)
- # xtdb (13)
What are the chances of getting https://github.com/fusesource/jansi support for Babashka? Would enable usage of projects like https://github.com/pmonks/spinner 🥺
That chance is fairly low, given that there are pure Clojure alternatives that already work with bb: • https://github.com/AvisoNovate/pretty • https://github.com/trhura/clojure-term-colors
@UKFSJSM38 you have also implemented a spinner in lsp right? when invoking it from the command line? I see some ansi stuff here too: https://github.com/clojure-lsp/clojure-lsp/blob/7a263482fcffde7a3777b9dee990d0516c6bd6ac/lib/src/clojure_lsp/diff.clj#L43
Wow, that's a lot of java code for what is effectively concatenating magic strings (like here: https://github.com/ams-clj/clansi/blob/master/src/clansi/core.clj)
Yes @U04V15CAJ I was trying to avoid adding one more lib 😅
@UKFSJSM38 very good, where is that spinner located in the code? I guess it's just printing slashes/hyphens + backspaces right?
Yes, there are some workarounds, but it works good for clojure-lsp: https://github.com/clojure-lsp/clojure-lsp/blob/master/lib/src/clojure_lsp/internal_api.clj#L47
Thanks, that should get me going! 👍