linenoise with win32 support, clone from other's repo with few modifications