After compiling and building a c-file on windows 11, when I execute the program, the terminal opens and is blank with the blinking cursor in the top left corner. I cannot input anything into the terminal and using ctrl c, closing the window, or stopping the program on geany eventually closes the window after a few seconds of loading. However, after exiting the terminal and running the program for a second time, my c-file runs fine and displays perfectly.
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.
@aero1016 ,
Go to "Edit > Preferences > Tools > Tool paths" and make sure the "Terminal" field contains the following:
cmd.exe /Q /C %c
Hitting `F5` should launch the legacy Command Prompt (white on black text, no theme colours, no UTF-16 encoding):
![geany_1 36_cpp_run](https://user-images.githubusercontent.com/59004801/160730418-ec3b93f7-9bf4-4...)
Geany 1.36 Windows 10.0.22000.588 Windows Terminal Version: 1.11.3471.0
@aero1016 did this work for you? Can we close this issue?
yes
On Sun, Apr 10, 2022 at 7:39 AM Enrico Tröger ***@***.***> wrote:
@aero1016 https://github.com/aero1016 did this work for you? Can we close this issue?
— Reply to this email directly, view it on GitHub https://github.com/geany/geany/issues/3143#issuecomment-1094252246, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS6Z36EEAYAKVB2OE2LWICTVEK4W5ANCNFSM5R7QU5GQ . You are receiving this because you were mentioned.Message ID: ***@***.***>
Closed #3143.
github-comments@lists.geany.org