aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTaylor Blau <ttaylorr@github.com>2020-10-10 17:24:40 -0400
committerGitHub <noreply@github.com>2020-10-10 21:24:40 +0000
commit56e0f5bb05cab709f815ef9cce027b379ce964b8 (patch)
tree997c1459bd547efd3a3486a2127d06ce63cdfa1b /docs
parent860adde457c64f4b0e432dd8c90d5b320f3f479f (diff)
downloadalacritty-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 'docs')
-rw-r--r--docs/escape_support.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/escape_support.md b/docs/escape_support.md
index 64ffef89..f1a0337c 100644
--- a/docs/escape_support.md
+++ b/docs/escape_support.md
@@ -56,7 +56,8 @@ brevity.
| `CSI h` | PARTIAL | Only modes `4` and `20` are supported |
| `CSI ? h` | PARTIAL | Supported modes: |
| | | `1`, `3`, `6`, `7`, `12`, `25`, `1000`, `1002` |
-| | | `1004`, `1005`, `1006`, `1007`, `1049`, `2004` |
+| | | `1004`, `1005`, `1006`, `1007`, `1042`, `1049` |
+| | | `2004` |
| `CSI I` | IMPLEMENTED | |
| `CSI J` | IMPLEMENTED | |
| `CSI K` | IMPLEMENTED | |