Using Flow

Notifications

Flow sends a macOS notification when something happens in a terminal you aren’t looking at. Click the notification to jump to that terminal.

When a command finishes

Add these lines to your Ghostty config to get a notification when a command that ran longer than 10 seconds finishes:

notify-on-command-finish = unfocused
notify-on-command-finish-action = notify
notify-on-command-finish-after = 10s

This uses Ghostty’s shell integration, which is on by default.

From your own scripts

Print one of these escape sequences to send a notification:

printf '\e]9;Deploy finished\a'
printf '\e]777;notify;Build;All tests passed\a'

The second form sets a title as well as the message.

Progress bars

Programs that report progress with OSC 9;4 show a bar across the top of their pane.

printf '\e]9;4;1;40\a'   # 40 percent
printf '\e]9;4;0\a'      # remove the bar

Something wrong or missing? Open an issue.