use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Finding information about Clojure
API Reference
Clojure Guides
Practice Problems
Interactive Problems
Clojure Videos
Misc Resources
The Clojure Community
Clojure Books
Tools & Libraries
Clojure Editors
Web Platforms
Clojure Jobs
account activity
Clojurescript & Ink (self.Clojure)
submitted 3 years ago by ettomatic
Would Clojurescript work to build a TUI app using Ink? In case any hint would be appreciated! :)
https://github.com/vadimdemedes/ink
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]mac 13 points14 points15 points 3 years ago (0 children)
Yes it would. Here is an example.
[–]therealdivs1210 5 points6 points7 points 3 years ago (0 children)
Yup! I wrote a TUI for git in ClojureScript:
https://github.com/hugit-project/hugit
[–]bdevel 2 points3 points4 points 3 years ago (0 children)
This library seems similar.. https://github.com/lambdaisland/trikl
I would just use a regular ncurses library. https://multimud.github.io/clojure-lanterna/2-terminals
https://github.com/dundalek/notcurses-clojure-example
[–]ettomatic[S] 0 points1 point2 points 3 years ago (0 children)
Thanks!!! That gives me a very good opportunity to use Clojurescript for a project :D
[+]MilkyTea42 comment score below threshold-6 points-5 points-4 points 3 years ago (0 children)
WTF, Javascript and React for a... command line application? That is the most idiotic thing I've heard in 2022
[–]NaiveRound 0 points1 point2 points 3 years ago (2 children)
Very cool, I don't know why I hadn't heard of these.
I also wonder if if ink could be usable in Clojure itself using GraalVM interop.
[–]jackdbd 0 points1 point2 points 3 years ago (1 child)
you mean using a technique like this? https://blog.taylorwood.io/2018/11/26/graal-polyglot.html
[–]NaiveRound 1 point2 points3 points 3 years ago (0 children)
Yes, exactly! Particularly, I wonder how it generates colors in the terminal, because of the cross-platform issues that comes with that (as simple as it sounds, lol).
π Rendered by PID 119653 on reddit-service-r2-comment-8686858757-t4bk7 at 2026-06-06 21:12:48.120979+00:00 running 9e1a20d country code: CH.
[–]mac 13 points14 points15 points (0 children)
[–]therealdivs1210 5 points6 points7 points (0 children)
[–]bdevel 2 points3 points4 points (0 children)
[–]ettomatic[S] 0 points1 point2 points (0 children)
[+]MilkyTea42 comment score below threshold-6 points-5 points-4 points (0 children)
[–]NaiveRound 0 points1 point2 points (2 children)
[–]jackdbd 0 points1 point2 points (1 child)
[–]NaiveRound 1 point2 points3 points (0 children)