News for hackers. Stuff that matters.
Re:Lanterna – Easy console text GUI library for Java by argentpyro on Wednesday July 16, 2014 @02:55PM (#8043822)
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.

Re:Lanterna – Easy console text GUI library for Java by fiatmoney on Wednesday July 16, 2014 @12:32PM (#8042916)
There's nothing more satisfying than a hardcore greenscreen admin interface to your web app.
Re:Lanterna – Easy console text GUI library for Java by ridentbyte on Wednesday July 16, 2014 @10:47AM (#8042277)
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.
Re:Lanterna – Easy console text GUI library for Java by smrtinsert on Wednesday July 16, 2014 @11:04AM (#8042367)
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?
Re:Lanterna – Easy console text GUI library for Java by ridentbyte on Wednesday July 16, 2014 @11:23AM (#8042489)
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.

Re:Lanterna – Easy console text GUI library for Java by jareds on Wednesday July 16, 2014 @08:48PM (#8045436)
Has anyone gotten this working with Groovy? I wonder if you would run into similar issues.
Re:Lanterna – Easy console text GUI library for Java by mindcrime on Wednesday July 16, 2014 @03:45PM (#8044076)
On a related note, there is also Charva which is somewhat similar.

http://www.pitman.co.za/projects/charva/index.html

Re:Lanterna – Easy console text GUI library for Java by JimmyM on Wednesday July 16, 2014 @01:06PM (#8043126)
I am just starting to work on a Roguelike in Java now. How did you know?
Re:Lanterna – Easy console text GUI library for Java by TTPrograms on Wednesday July 16, 2014 @05:19PM (#8044652)
Are there similar solutions for other languages (other than curses)? In particular I would love something for python scripting.
Re:Lanterna – Easy console text GUI library for Java by speednoise on Wednesday July 16, 2014 @07:16PM (#8045149)
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/
Re:Lanterna – Easy console text GUI library for Java by thristian on Wednesday July 16, 2014 @06:52PM (#8045072)
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.
Re:Lanterna – Easy console text GUI library for Java by pjmlp on Wednesday July 16, 2014 @01:23PM (#8043227)
Oohh, memories of Turbo Vision resurface...
Re:Lanterna – Easy console text GUI library for Java by abengoam on Wednesday July 16, 2014 @01:01PM (#8043100)
That looks awesome.
Re:Lanterna – Easy console text GUI library for Java by dschulz on Wednesday July 16, 2014 @02:03PM (#8043480)
I've not tried it yet, but.. Hori_s_ontal? Why?

https://code.google.com/p/lanterna/source/browse/src/main/ja...

Re:Lanterna – Easy console text GUI library for Java by danneu on Wednesday July 16, 2014 @02:39PM (#8043711)
Martin Berglund might be Scandinavian.

https://translate.google.com/#en/no/horizontal