Anyone aware of a working curses binding for Windows?
Um, not a perfect answer to your question, unfortunately, but in case problems with curses would end up major obstacle for you:
- firstly, TextAdept is a Lua-based, MIT-licensed text editor, and quoting from its Installation page[1], "The Windows binary includes a precompiled version of pdcurses", so you could try to have a look at how it does that.
[1]:
http://foicica.com/textadept/02_Installation.html - finally, I've once created a very very *very* barebones LuaJIT (FFI-based, so "pure LuaJIT", aiming to make it simple and that you can quickly check if it works for you or not) library for "gotoxy + readkey" functionality on Windows, also MIT licensed and available at:
https://github.com/akavel/thud
/Mateusz Czapliński.