Console Flashing seems to be not implemented
See original GitHub issueUsing Terminus on Windows, in our build scripts we are using a call to the Platform SDK function FlashWindowEx()
to signal errors to the user, even when the console is minimized.
When our scripts run in the native CMD console, the task bar icon of the calling window is being correctly flashed (i.e. the background is periodically highlighted).
It seems to be not implemented at all in Terminus. I.e. when running a program that flashes the window, nothing is visible in the task bar icon.
I’ve written a small program to illustrate the behaviour. See the attached files for both source code and a .NET compiled version:
My question/request
Please support the flashing of the window title and task bar icon of Terminus. Probably the tab that creates the flash should also be flashing.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top GitHub Comments
Which HWND are you passing to
FlashWindowEx()
? Due to how Terminus is implemented, it’s running a hidden conhost window (which likely would be “flashing”) when ConPTY is disabled. When ConPTY is enabled, I believe there’s no way for client application to get a host’s HWND, since it might not even have a window.This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks unless you comment. Thank you for your contributions.