This library wraps readline on Linux, editline on Mac, and implements the same functionality on Windows (without add_history()).
I'll probably add add_history() later for Windows. add_history() will be automatically called by readline(); if you want to not have that, tell me. I personally don't see the use, though.