I don't run Geany on windows, and AFAIK none of the other regular contributors use Windows 11, but a quick google shows that the terminal emulator has changed for Windows 11 and has lots of settings. Perhaps you need to adjust the settings, for example to run cmd.exe not powershell.