diff options
author | Taylor Blau <ttaylorr@github.com> | 2020-10-10 17:24:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-10 21:24:40 +0000 |
commit | 56e0f5bb05cab709f815ef9cce027b379ce964b8 (patch) | |
tree | 997c1459bd547efd3a3486a2127d06ce63cdfa1b /CHANGELOG.md | |
parent | 860adde457c64f4b0e432dd8c90d5b320f3f479f (diff) | |
download | alacritty-56e0f5bb05cab709f815ef9cce027b379ce964b8.tar.gz alacritty-56e0f5bb05cab709f815ef9cce027b379ce964b8.zip |
Add support for urgency hints CSI
Teach Alacritty to stop setting the window as urgent upon a bell by
emulating xterm's 'bellIsUrgent' resource and relevant CSI. When this
resource is enabled (with 'CSI ? 1042 h'), a bell event causes the
window to be marked as urgent. When the resource is disabled (with 'CSI
? 1042 l'), the window is not marked urgent in the event of a bell.
There are two wrinkles worth noting here:
- The 'TermMode::URGENCY_HINTS' does _not_ affect the terminal's
configured bell command, since we only want to control whether or
not the window is marked as urgent, not anything else.
- In xterm, the 'bellIsUrgent' resource is _disabled_ by default.
Since bouncing the dock icon has been the default in Alacritty on
macOS thus far, do not make an effort to change that in this patch.
This allows users to emit "\e[?1042l" and disable bouncing the dock
icon.
Fixes #2950.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5aa9806d..a849fbc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Escape sequences to report text area size in pixels (`CSI 14 t`) and in characters (`CSI 18 t`) - Support for single line terminals dimensions - Right clicking on Wayland's client side decorations will show application menu +- Escape sequences to enable and disable window urgency hints (`CSI ? 1042 h`, `CSI ? 1042 l`) ### Changed |