Notifications
Desktop notifications in cmuxterm for AI agents
Notifications
cmuxterm supports desktop notifications, allowing AI agents and scripts to alert you when they need attention.
How It Works
- A process in the terminal sends an OSC escape sequence
- cmuxterm parses the notification title and body
- If the terminal isn't focused, a desktop notification appears
- The tab shows an unread badge
Sending Notifications
Using the CLI
The simplest way to send a notification:
With a subtitle:
Using OSC Sequences
You can send notifications directly using escape sequences:
OSC 99 (Kitty Protocol)
OSC 777 (RXVT Protocol)
See OSC Sequences for full format documentation.
Notification Behavior
Suppression
Notifications are suppressed (no desktop alert) when:
- The cmuxterm window is focused
- The specific tab sending the notification is active
- The notification panel is open
This prevents duplicate alerts when you're already looking at the terminal.
Notification Panel
Press ⌘⇧I to open the notification panel, showing all notifications:
- Click a notification to jump to that tab
- Notifications are marked as read when viewed
- Clear all with the clear button
Quick Jump
Press ⌘⇧U to jump directly to the tab with the most recent unread notification.
Notification Lifecycle
- Received - Notification appears in panel, desktop alert fires (if not suppressed)
- Unread - Badge shown on tab
- Read - Cleared when you view that tab
- Cleared - Removed from panel