neurolabs / henplus

HenPlus is a SQL shell that can handle multiple sessions in parallel. The commandline interface with the usual history functions features TAB-completion for commands, tables and columns. Database connect via JDBC.
GNU General Public License v2.0
97 stars 51 forks source link

Feature/jline integration #33

Closed valgnu closed 12 years ago

valgnu commented 12 years ago

Hello, First of all thank you for your great product. I'm WinXP user and jline integration helps me a lot. Commit#4db2e52 Since the branch is JLine integration I would like to propose to use jline for password entering/masking. So this commit do the changes with related cleanups. In additional SQLSession class is not interuptable and it is never pushed into stack for interruption. (with jline it can not be interuptable)

Commit#c0c7ebc: For Windows console does not support ANSI escape sequences. Lets use Jansi (included in JLine) to add this support.

Please consider these changes if needed. Thank you in advance. Valeriy G.

neurolabs commented 12 years ago

Thanks for the pull request, I will take a look at it shortly.

neurolabs commented 12 years ago

Thanks very much, I like commits that delete more code than they add ;).