Linenoise claims it supports ANSI.SYS terminals, which suggests Windows, however it appears to be impossible to compile it on Windows... or at least MSVC. It uses POSIX headers like termios.h, unistd.h, etc. which don't exist in that environment.
How feasible would it be to add MSVC support?
@Asmod4n unfortunately, that file includes stuff that depends on Redis code.
We're unable to use linenoise until Windows is supported... hopefully that redis code will be ported here.
EDIT: Nevermind, found https://github.com/arangodb/linenoise-ng which supports Windows.
You might also like @yhirose 's version of linenoise: https://github.com/yhirose/cpp-linenoise
@Sonophoto unfortunately that one's a no-go for me--I need it to be C.
Here is another workaround:
Most helpful comment
@Sonophoto unfortunately that one's a no-go for me--I need it to be C.