summaryrefslogtreecommitdiffstats
path: root/alacritty.yml
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2018-09-24 21:06:12 +0200
committerChristian Duerr <chrisduerr@users.noreply.github.com>2018-09-24 19:06:12 +0000
commitec3a80427b717bb13d56c3031f4195bdae9c011a (patch)
tree85f9119f88c2dfe56d8839150fc136623e14c624 /alacritty.yml
parent3d7e88e8a975f40996aaa71d951842db6f2fccbb (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.yml')
-rw-r--r--alacritty.yml15
1 files changed, 9 insertions, 6 deletions
diff --git a/alacritty.yml b/alacritty.yml
index e6578ffa..91bff074 100644
--- a/alacritty.yml
+++ b/alacritty.yml
@@ -5,14 +5,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)
@@ -336,6 +336,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