JEG2/highline — pull request #24 by tomdz (2011-11-28 04:20:11+00:00)
Title: Partial fix for #22

This fixes the screen reset for JRuby for me (the curs_set call seems to be the problem), but using a different echo character (e.g. '*') is still not work properly - it only shows a single replacement character and jumps to the beginning of the line thus overwriting text on it.
After researching ncurses a bit I come to think that it is not really appropriate for this as it wants to take over the terminal (e.g. the ncurses refresh function clears the terminal and is called implicitly by quite a few functions). For JRuby it might be more appropriate to include the JLine library (http://jline.sourceforge.net/ also works on Windows) or use Java 6's Console class (http://docs.oracle.com/javase/6/docs/api/java/io/Console.html).