When I start my console app in Win10 from its File Explorer, the resulting console window doesn't have tabs. (See 1st image.) The result is the same if I start my app in Win11 from a 32bit file manager (Q-dir or FreeCommander). This is the desired situation so that the correct size of the console window can be set from within my app.
If I start my console app in Win11 from its File Explorer, the resulting console window has tabs. The console window isn't sized to the required size and so some of the framework at the bottom of the UI is cut off. (See 2nd image.) Dragging the window boundary to increase the window height doesn't restore the framework and the UI may become unusable.
A partial solution is to start my app from a batch file that calls wt.exe (windows terminal). However, wt.exe isn't included with Win10 so it must be downloaded from the Microsoft Store. I want to avoid this for the Win10 user.
Alternately, a non-tabbed cmd window could be started with admin privileges and my app could be started from there without using File Explorer. However, the end user might not have admin privileges and this extra step is not preferred. Also, the end user's natural inclination is to start the app from File Explorer.
Hence, is there a way to start my console app from Win11 File Explorer in a non-tabbed window so that the UI will be correct?
(Also, please let me know if perhaps there are any better forums to ask this question.)
Thanks,
Don C.
Lazarus 3.8 (rev lazarus_3_8) FPC 3.2.2 i386-win32-win32/win64