-
-
Notifications
You must be signed in to change notification settings - Fork 805
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add notification_handling option to control suppression
refs: #3727
- Loading branch information
Showing
5 changed files
with
84 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
tags: | ||
- notifications | ||
--- | ||
|
||
# `notification_handling = "AlwaysShow"` | ||
|
||
{{since('nightly')}} | ||
|
||
This option controls how wezterm behaves when a toast notification escape | ||
sequence is received. | ||
|
||
The following escape sequences will generate a toast notification: | ||
|
||
```console | ||
$ printf "\e]777;notify;%s;%s\e\\" "title" "body" | ||
``` | ||
|
||
```console | ||
$ printf "\e]9;%s\e\\" "hello there" | ||
``` | ||
|
||
This configuration option can have one of the following values, | ||
which have the following effects: | ||
|
||
* `AlwaysShow` - Show the notification regardless of the current focus | ||
* `NeverShow` - Never show the notification | ||
* `SuppressFromFocusedPane` - Show the notification unless it was generated from the currently focused pane | ||
* `SuppressFromFocusedTab` - Show the notification unless it was generated from the currently focused tab | ||
* `SuppressFromFocusedWindow` - Show the notification unless it was generated from the currently focused window |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters