aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-01-20 17:44:55 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-01-20 17:45:14 +0000
commitb40b1ba62cd063cf7ac6f4192e3d5a0d56f6924a (patch)
tree665dedaeced5652fdf88986574fba3c058d75995 /README.md
parentterminfo: add 'oc' (orig colors) (diff)
terminfo: sort
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
index ed08b06c..1c63d5f5 100644
--- a/README.md
+++ b/README.md
@@ -14,6 +14,7 @@
1. [Scrollback search](#scrollback-search)
1. [Mouse](#mouse)
1. [Server (daemon) mode](#server-daemon-mode)
+1. [Alt/meta](#alt-meta)
1. [Requirements](#requirements)
1. [Running](#running)
1. [Building](#building)
@@ -191,6 +192,23 @@ desktop), and then run `footclient` instead of `foot` whenever you
want to launch a new terminal.
+## Alt/meta
+
+By default, foot prefixes _Meta characters_ with ESC. This corresponds
+to XTerm's `metaSendsEscape` option set to `true`.
+
+This can be disabled programatically with `\E[?1036l` (and enabled
+again with `\E[?1036h`).
+
+When disabled, foot will instead set the 8:th bit of meta character
+and then UTF-8 encode it. This corresponds to XTerm's `eightBitMeta`
+option set to `true`.
+
+This can also be disabled programatically with `rmm` (_reset meta
+mode_, `\E[?1034l`), and enabled again with `smm` (_set meta mode_,
+'\E[?1034h`).
+
+
## Requirements
### Running