Signed-off-by: Julien Danjou <julien@danjou.info>
This should make this more usable again. The old C version used readline, if possible and now the new bash version does too. :) The idea to use rlwrap is from jd and it's a good one. Signed-off-by: Uli Schlachter <psychon@znc.in>