On Fri Apr 18 15:34:20 2025 +0000, Joe Souza wrote:
Can ReadConsole() accept a buffer with pre-filled text for further editing? From what I read in docs online, it behaves similar to ReadFile() which is input-only. I'll try to test some code on Windows to verify behaviour.
OK, using ReadConsole/CONSOLE_READCONSOLE_CONTROL on Windows gives me the behaviour that I need; i.e. pre-filled text is preserved and can be further edited. Caller must output the text first, but seems to work as expected.
I'll start making the changes to my code soon, within the coming days.