Wait, I don't have any such problems. Why?
Some time ago, Windows 11 did something flaky with the Terminal app. Made it useless for the ways I want to use the command line, possibly also useless for using Console output setting in QB64pe.
I went to the Microsoft forum and was given the solution which seems to work for me.
In Win11, go to start > all > terminal. (In case you're new to Win11, "all" is a pretty small button, top right of start menu. Click it and you'll see all installed apps.)
When you scroll down the list and then click on Terminal, you'll see weird looking command line interface, strange font, just doesn't look right.
Right click on the top title bar, whatever it's called, and click on Settings.
In the top two settings, Default Profile should be set to Command Prompt. And the next one down, Default Terminal Application, set that to Windows Console Host.
Now when you need the command prompt interface, it will look right and work right. Can be used for .bat (or .cmd) file scripts, for QB64pe output, or whatever.
PS: Occasionally, the Terminal app will be updated. One of these updates returned Terminal to the new default settings. So, just be aware of that. The time this happened, I was aware that Terminal had been updated, so I quickly restored my preferred settings. Since that one Ime, Terminal updates have luckily not changed the settings.
Some time ago, Windows 11 did something flaky with the Terminal app. Made it useless for the ways I want to use the command line, possibly also useless for using Console output setting in QB64pe.
I went to the Microsoft forum and was given the solution which seems to work for me.
In Win11, go to start > all > terminal. (In case you're new to Win11, "all" is a pretty small button, top right of start menu. Click it and you'll see all installed apps.)
When you scroll down the list and then click on Terminal, you'll see weird looking command line interface, strange font, just doesn't look right.
Right click on the top title bar, whatever it's called, and click on Settings.
In the top two settings, Default Profile should be set to Command Prompt. And the next one down, Default Terminal Application, set that to Windows Console Host.
Now when you need the command prompt interface, it will look right and work right. Can be used for .bat (or .cmd) file scripts, for QB64pe output, or whatever.
PS: Occasionally, the Terminal app will be updated. One of these updates returned Terminal to the new default settings. So, just be aware of that. The time this happened, I was aware that Terminal had been updated, so I quickly restored my preferred settings. Since that one Ime, Terminal updates have luckily not changed the settings.

