alandekok/linenoise — pull request #3 by tadmarshall (2011-10-17 23:29:45+00:00)
Title: Fix first-chance exceptions in Windows

A call to WriteConsoleOutputCharacter() didn't have its final parameter
set, passing a zero instead of a pointer to where to return the char count.
I added the same code that was there for FillConsoleOutputCharacter() and
FillConsoleOutputAttribute(), just allocate a dummy 'n' and pass its address.