Here's a patch that solves the high CPU usage of readline under Win32 and also allow to interrupt readline in CLI mode. This works for me with MSVC. Could anybody have this tested in MinGW?
Note: at the moment, I'm not sure the patch will work properly with non-ASCII characters.