From b40b1ba62cd063cf7ac6f4192e3d5a0d56f6924a Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 20 Jan 2020 18:44:55 +0100 Subject: terminfo: sort --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'README.md') 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 -- cgit v1.3