use haskeline to replace readline