This is a minimal approach to running MC in wineconsole and addresses https://bugs.winehq.org/show_bug.cgi?id=49780. Wineconsole thus supports basic CSI control sequences for: - SGR (Select Graphic Rendition) and - CUP (Cursor Position) {width=900 height=507} **TODO:** - [x] check for ENABLE_VIRTUAL_TERMINAL_PROCESSING - [x] bug states that SetConsoleMode does not return error code and therefore applications fail to handle it correctly - [ ] rewrite, if that is the way to go i will do that, to use newer API. This would allow more colors than ANSI colors only - [ ] test shared: several programs attached to the same console -- v4: conhost: add basic CUP color handling conhost: improve basic SGR color handling conhost: add basic SGR color handling conhost: add basic VT control sequence parsing https://gitlab.winehq.org/wine/wine/-/merge_requests/9973