mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-06-04 02:44:50 +00:00
macOS: add "command finished" notifications (#10934)
fixes https://github.com/ghostty-org/ghostty/issues/10840 Implement command finished notifications for MacOS. Building on the work of #8992 ### AI Tools Used * Cursor * Models * Opus 4.6 * Composer 1.5
This commit is contained in:
@@ -1207,8 +1207,6 @@ command: ?Command = null,
|
||||
/// notifications for a single command, overriding the `never` and `unfocused`
|
||||
/// options.
|
||||
///
|
||||
/// GTK only.
|
||||
///
|
||||
/// Available since 1.3.0.
|
||||
@"notify-on-command-finish": NotifyOnCommandFinish = .never,
|
||||
|
||||
@@ -1223,8 +1221,6 @@ command: ?Command = null,
|
||||
/// Options can be combined by listing them as a comma separated list. Options
|
||||
/// can be negated by prefixing them with `no-`. For example `no-bell,notify`.
|
||||
///
|
||||
/// GTK only.
|
||||
///
|
||||
/// Available since 1.3.0.
|
||||
@"notify-on-command-finish-action": NotifyOnCommandFinishAction = .{
|
||||
.bell = true,
|
||||
@@ -1262,8 +1258,6 @@ command: ?Command = null,
|
||||
/// The maximum value is `584y 49w 23h 34m 33s 709ms 551µs 615ns`. Any
|
||||
/// value larger than this will be clamped to the maximum value.
|
||||
///
|
||||
/// GTK only.
|
||||
///
|
||||
/// Available since 1.3.0
|
||||
@"notify-on-command-finish-after": Duration = .{ .duration = 5 * std.time.ns_per_s },
|
||||
|
||||
|
||||
Reference in New Issue
Block a user