question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Console Flashing seems to be not implemented

See original GitHub issue

Using 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:

console-flasher.zip

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:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Eugenycommented, Sep 26, 2019

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.

0reactions
stale[bot]commented, Mar 24, 2020

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Console is flashing on some applications under windows ...
I've already seen bugs in ssh.exe from system32. This implementation of ssh does not pass ANSI sequences to terminal (ConEmu) but calls WinApi ......
Read more >
Are there some way to prevent the console flashing when ...
1. If you don't want it to flash, then don't clear the screen. · so i use SetConsoleCursorPosition(), that mean there are no...
Read more >
How to Fix Xbox Controller Blinking or Flashing - TechPP
Unplug your console's network cable. Verify that the console port and the cable connector are clear of debris and clean. Reconnect the cable ......
Read more >
[Q] fastboot flash recovery problem? "variable not supported"
I have tried flashing shabbypenguin's CWM recovery image, the latest TWRP recovery image, and the stock recovery image linked to in this thread....
Read more >
Seeing a Command Prompt box flash quickly on Windows 10 ...
In this guide, we'll show you the steps to stop the Command Prompt box flashing quickly issue caused by Office 365 on Windows...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found