Skip to content
flashes command prompt on windows, "jumps" the terminal icon on macos.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Alert is a simple (really, really simple) tool written in Rust that does one thing:

It flashes the command prompt window it is executed in (on Windows), or hops the Terminal dock icon (on MacOS). (Linux version is in progress).

The idea is that if you have some long-running console task, you can just throw Alert at the end to get notified when it's done.

On Windows, this is accomplished by calling into the WinApi to get the currently running console window handle and invoking FlashWindowEx on it.

On MacOS, Alert is simply a glorified shell script, because MacOS by default jumps the Terminal icon when it receives the BEL character. The Alert executable invokes the command tput bel to do this.

Example on MacOS:

You can’t perform that action at this time.