aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-04-04 11:56:55 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-04-04 11:56:55 +0000
commit5113fa7375e6ed649612653050f70b15c5eb9c64 (patch)
tree92db2d2d8066d1e1260e75bd0917b428eeb6de7e
parentMerge branch 'right-mouse-extend-selection' (diff)
readme: document implemented OSC sequences
-rw-r--r--README.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/README.md b/README.md
index 18dfc559..0bc65552 100644
--- a/README.md
+++ b/README.md
@@ -17,6 +17,7 @@
1. [Alt/meta](#alt-meta)
1. [Backspace](#backspace)
1. [DPI and font size](#dpi-and-font-size)
+1. [Supported OSCs](#supported-oscs)
1. [Requirements](#requirements)
1. [Running](#running)
1. [Building](#building)
@@ -267,6 +268,27 @@ _Note_: if you configure **pixelsize**, rather than **size**, then DPI
changes will **not** change the font size. Pixels are always pixels.
+## Supported OSCs
+
+OSC, _Operating System Command_, are escape sequences that interacts
+with the terminal emulator itself. Foot implements the following OSCs:
+
+* OSC 0 - change window icon + title (but only title is actually
+ supported)
+* OSC 2 - chage window title
+* OSC 4 - change color palette
+* OSC 7 - report CWD
+* OSC 10 - change (default) foreground color
+* OSC 11 - change (default) background color
+* OSC 12 - change cursor color
+* OSC 52 - copy/paste clipboard data
+* OSC 104 - reset color palette
+* OSC 110 - reset default foreground color
+* OSC 111 - reset default background color
+* OSC 112 - reset cursor color
+* OSC 555 - **foot specific** flash screen
+
+
## Requirements
### Running