aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authordelthas <delthas@dille.cc>2023-09-04 12:02:05 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-02-06 12:50:09 +0000
commit6c56b04b3f312be8dcee307e29515f3c83b3ae87 (patch)
tree973281f8d9d2414986b433ef045f72f5f5d838a3 /doc
parentterm: drop term->render.title.is_armed (diff)
osc: add support for osc 176 (app ID)
This adds support for a new OSC escape sequence: OSC 176, that lets terminal programs tell the terminal the name of the app that is running. foot then sets the app ID of the toplevel to that ID, which lets the compositor know which app is running, and typically sets the appropriate icon, window grouping, ... See: https://gist.github.com/delthas/d451e2cc1573bb2364839849c7117239
Diffstat (limited to 'doc')
-rw-r--r--doc/foot-ctlseqs.7.scd5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/foot-ctlseqs.7.scd b/doc/foot-ctlseqs.7.scd
index 68a54beb..64c56d5d 100644
--- a/doc/foot-ctlseqs.7.scd
+++ b/doc/foot-ctlseqs.7.scd
@@ -693,6 +693,11 @@ All _OSC_ sequences begin with *\\E]*, sometimes abbreviated _OSC_.
| \\E] 133 ; D \\E\\
: FinalTerm
: Mark end of command output
+| \\E] 176 ; _app-id_ \\E\\
+: foot
+: Set app ID. _app-id_ is optional; if assigned,
+ the terminal window App ID will be set to the value.
+ An empty App ID resets the value to the default.
| \\E] 555 \\E\\
: foot
: Flash the entire terminal (foot extension)