16 comments

[ 2.8 ms ] story [ 47.9 ms ] thread
I have actually used this library in the past. I've never managed to get it working with Spring for DI because the library itself instantiates it's objects at really strange times... It's nice all the same though.
Not having used laterna why would it matter when it instantiates anything? Spring lets you define init/destroy methods which would allow laterna to do its own thing... Or were you trying to use laterna features programmatically like an api?
I can't remember entirely what I was trying to do, because it was over a year ago since I've touched it, but I remember stepping through Lanterna and seeing code that instantiates objects just before they appear on screen which meant it was over writing existing objects managed by Spring... (I think)

I know that Lanterna is still being actively worked on though, so maybe I'll give it another shot.

I see the spelling error on the: "Panel.Orientation.HORISONTAL" enum still exists though.

Has anyone gotten this working with Groovy? I wonder if you would run into similar issues.
There's nothing more satisfying than a hardcore greenscreen admin interface to your web app.
I am just starting to work on a Roguelike in Java now. How did you know?
Oohh, memories of Turbo Vision resurface...
I've used this library before and really liked it. I made a really simple roguelike with it:

https://github.com/melloc/roguelike

I remember running into some minor issues, but for the most part it's an awesome, mature library.

Are there similar solutions for other languages (other than curses)? In particular I would love something for python scripting.
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.