TouchConsoleWindow(id)
id as needing refresh.
By default, only the areas in the window that have changed are marked for refresh.
If you want to force a refresh of the whole window, call TouchConsoleWindow() on it.
The id parameter must be the identifier of a console window allocated by
CreateConsoleWindow(). See CreateConsoleWindow for details.
You must enable advanced console mode using EnableAdvancedConsole() before you can use this function. See EnableAdvancedConsole for details.