Skip to content

notification_handling = "AlwaysShow"

Since: Version 20240127-113634-bbcac864

The functionality described in this section requires version 20240127-113634-bbcac864 of wezterm, or a more recent version.

This option controls how wezterm behaves when a toast notification escape sequence is received.

The following escape sequences will generate a toast notification:

$ printf "\e]777;notify;%s;%s\e\\" "title" "body"
$ 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