Replies: 2 comments 1 reply
-
What are you trying to achieve with |
Beta Was this translation helpful? Give feedback.
-
I use Get/SetConsoleScreenBufferSize to set the buffer I use SetConsoleWindowInfo to set the window size to {0, 0, 150 , 20} I use CONSOLE_SCREEN_BUFFER_INFO with GetStdHandle(STD_OUTPUT_HANDLE to get the X and Y current cursor position I use SetConsoleCursorPosition to set the cursor position I use SetConsoleTextAttribute to set font colors (some works in windows terminal, some does not. Some font colors not visible.) |
Beta Was this translation helpful? Give feedback.
-
So I have a console application that uses SetConsoleWindowInfo, etc. which does nothing in windows terminal.
Windows Terminal is now the default in windows 11, and while users can set ALL console hosts to be windows terminals or the old console, I don't see anyway for console applications to determine which is selected or to force the right choice for the API in use.
"Let Windows Decide" doesn't seem to do anything except make everything windows terminals.
I also don't see a 1:1 equivalency between the old API and Virtual Terminal Escape sequences. E.g. one can set the width, but not the height?
Please advise.
Beta Was this translation helpful? Give feedback.
All reactions