diff options
author | Daniel Eklöf <daniel@ekloef.se> | 2018-09-24 21:06:12 +0200 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2018-09-24 19:06:12 +0000 |
commit | ec3a80427b717bb13d56c3031f4195bdae9c011a (patch) | |
tree | 85f9119f88c2dfe56d8839150fc136623e14c624 /alacritty_macos.yml | |
parent | 3d7e88e8a975f40996aaa71d951842db6f2fccbb (diff) |
Add standalone terminfo definition
This replaces the current definitions, which depend on the system's
'xterm-256color' terminfo definition with the `alacritty` and
`alacritty-direct` definitions.
The new definitions are completely standalone.
The default `TERM` value has been changed to be dynamically
set based on the definitions installed on the system. Alacritty will
try to use the `alacritty` definition first and fall back to
`xterm-256color` if the `alacritty` definition is not present.
Diffstat (limited to 'alacritty_macos.yml')
-rw-r--r-- | alacritty_macos.yml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/alacritty_macos.yml b/alacritty_macos.yml index 9782c5df..8ce0181a 100644 --- a/alacritty_macos.yml +++ b/alacritty_macos.yml @@ -4,14 +4,14 @@ # environment variables. Some entries may override variables # set by alacritty itself. env: - # TERM env customization + # TERM variable # - # If this property is not set, alacritty will set it to `xterm-256color`. + # This value is used to set the `$TERM` environment variable for + # each instance of Alacritty. If it is not present, alacritty will + # check the local terminfo database and use 'alacritty' if it is + # available, otherwise 'xterm-256color' is used. # - # Note that some xterm terminfo databases don't declare support for italics. - # You can verify this by checking for the presence of `smso` and `sitm` in - # `infocmp xterm-256color`. - TERM: xterm-256color + # TERM: xterm-256color window: # Window dimensions (changes require restart) @@ -332,6 +332,9 @@ live_config_reload: true # it possible to pass escape sequences. # To find escape codes for bindings like `PageUp` ("\x1b[5~"), you can run # the command `showkey -a` outside of tmux. +# Note that applications use terminfo to map escape sequences back to +# keys. It is therefore required to update the terminfo when +# changing an escape sequence. # # Values for `action`: # - Paste |