#dos2ansi β Public Fediverse posts
Live and recent posts from across the Fediverse tagged #dos2ansi, aggregated by home.social.
-
BTW the specific #win32-api-braindamage that hit me in #dos2ansi 1.0 was FlushFileBuffers(): https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-flushfilebuffers
Sure, my fault not to read the *whole* docs before using it and just assuming sane semantics π:
> The function fails if _hFile_ is a handle to the console output. That is because the console output is not buffered.
Okayyyy. I mean, not *having* to know what some "handle" used to do I/O is referring to exactly is kind of the whole point of any I/O abstraction, at least I thought so. Any API I've seen so far would just make it a no-op (and, of course, succeed) in such a case. π€―