garrynewman/garrysmod — pull request #788 by Python1320 (2014-08-17 14:00:35+00:00)
Title: Workaround to fix -console until a proper fix is made

This works and it won't flash console window for non "-console" users due to the console fade delay.

The console window would be created anyway even if console is not opened so there's no performance penalty that I'm aware of.

Believe me, I tried to find a better fix, but it's not possible. There's no way to have a background window with keyboard focus using Lua only that I'm aware of.