Add editline support (similar to readline)