diff options
| author | Stanton Burchett <sburchett@medallia.com> | 2026-07-30 14:51:22 -0600 |
|---|---|---|
| committer | Stanton Burchett <sburchett@medallia.com> | 2026-07-30 14:51:22 -0600 |
| commit | 46e3650242cfe38941eb747e601484bd19c137bd (patch) | |
| tree | 16a1df66b7fead0e8ee1838e4b02179f5d2360b5 /README.md | |
| parent | 64b564b52ba7d22ba8129821ab4b30542d971ff5 (diff) | |
Add OSC 777 support and clean up the notification title
Support OSC 777 ; notify ; title ; body (the rxvt/urxvt notification form) so a program can set an explicit title and body, with the semicolon-safe body rejoined via slice(2).join(";"). Clean the OSC 9 title: prefer a user-set custom tab name, and reduce filesystem-path titles to their last segment so shell tabs no longer show a long, truncated cwd.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -12,6 +12,18 @@ Clicking the notification brings Tabby to the front and switches to the exact tab/pane that emitted the sequence. The notification title reflects the tab's current title at the time the sequence is received. +The OSC 9 title is cleaned up: it prefers a user-set custom tab name, and when +the title looks like a filesystem path (e.g. a shell tab showing its cwd) only +the last path segment is used instead of the full, often-truncated path. + +`OSC 777 ; notify ; title ; body` (the rxvt/urxvt notification form) is also +supported, letting a program set an explicit title and body: + +```sh +# creates a notification titled 'Build' with body 'Done' +printf "\033]777;notify;Build;Done\a" +``` + ### Example commands ```sh |
