Closed bovacu closed 8 months ago
Terminals show output from programs and accept input and pass the input to programs.
CMD and Powershell are shell programs, not terminals.
ConEmu and Windows Terminal are terminals. When no terminal program is launched, then the default terminal is launched. On older versions of Windows it's the legacy conhost terminal, and on newer versions it's Windows Terminal.
Cmder is a package that bundles some scripts and the ConEmu terminal.
Try posting the question in the ConEmu repo. Cmder doesn't own or modify the ConEmu terminal.
Also, it may be an issue in the SDL code, so posting the question to the SDL maintainers could also be useful.
Version Information
Cmder Edition
Cmder Full (with Git)
Description of the issue
I'm working on my C-GameEngine on Windows 11 and I use Cmder as my working terminal and I compile with plain clang (no IDE). When I use any other native windows terminal (CMD or PowerShell) both support SDL2 Drop events, such as DropBegin, DropComplete, DropFile and DropText, but with Cmder those events are simply not working, they are not even poll at all, it is like they do not exist for Cmder. If I simply run my program by double clicking they work as expected, it is just by running the program on Cmder. It can be reproduced with the simple example of the wiki, here it is:
Just compile that program and see how it behaves in from the terminal and just from double clicking. Is this a known error? I could not find that much information about this problem. If anyone knows something on why this is happening or how to fix it, let me know pls!
Thank you so much in advance.
How to reproduce
clang -g -O0 main.cpp -I path/to/sdl2/include -L path/to/sdl/lib -lSDL2main -lSDL2 -lwinmm -lgdi32 -Xlinker /subsystem:console -lShell32 -o main.exe
Additional context
No response
Checklist