Use libreadline to overcome the arrow key issue in user input, bug need to be fixed for exceeding backspace hits