r/Clojure • • Aug 04 '25

ANSI code based UI library in Clojure

Hi,

I am trying to build a TUI for my Clojure app that can even run on Termux. So I was searching for such a library in Clojure but found only Clojure Lanterna and nothing other useful.

Can anyone please help me with some leads?

10 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/Alarmed-Skill7678 Aug 04 '25

Can't get you. Is it a Clojure library or .Net library?

4

u/vadercows Aug 04 '25

It’s a .net library. Clojureclr is an implementation of clojure hosted in .net, so it has interop with .net the same way clojure has with Java and clojurescript with js

1

u/Alarmed-Skill7678 Aug 04 '25

Thanks for explaining. Actually I am using Clojure hosted on JVM. There is one Java library Lanterna.

1

u/GullibleRaspberry9 Aug 04 '25

Yeah what u/vadercows said, but I will add it is a nice combination. Terminal.Gui is really nice. You can wrap some of the .net interop with nicer Clojure functions for real happiness.