Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Are there similar solutions for other languages (other than curses)? In particular I would love something for python scripting.


There's a Clojure wrapper (https://github.com/sjl/clojure-lanterna) which features in a pretty great series of blog posts on making a Roguelike with it: http://stevelosh.com/blog/2012/07/caves-of-clojure-01/


terminfo and curses fulfil the first two layers described on the web-page, and have decent bindings in the Python standard library. For the third layer, the widget toolkit, you probably want something like Urwid.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: