docs: update the documentation of the @[console] tag, add advice to use -subsystem windows instead

This commit is contained in:
Delyan Angelov 2024-11-16 14:29:10 +02:00
parent 1dd5f8eb2c
commit be4aec882a
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED

View file

@ -5831,7 +5831,7 @@ fn C.DefWindowProc(hwnd int, msg int, lparam int, wparam int)
@[callconv: 'fastcall']
type FastFn = fn (int) bool
// Windows only:
// Windows only (and obsolete; instead of it, use `-subsystem windows` when compiling)
// Without this attribute all graphical apps will have the following behavior on Windows:
// If run from a console or terminal; keep the terminal open so all (e)println statements can be viewed.
// If run from e.g. Explorer, by double-click; app is opened, but no terminal is opened, and no