From 05d40a8adcfb12681d849f36f25263166c7d7bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 18 Sep 2018 22:20:59 +0200 Subject: [PATCH] Mention required terminfo update when changing tabspaces Changing tabspaces from the default (8) requires a corresponding update to the `it` item in the terminfo entry used. Some applications, like Emacs, rely on knowing the width of a tab, and will experience unexpected behavior if the terminfo data does not match the actual width used. --- alacritty.yml | 9 ++++++++- alacritty_macos.yml | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/alacritty.yml b/alacritty.yml index af4535d5..a0225f56 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -56,7 +56,14 @@ scrolling: # to the terminal. auto_scroll: false -# Display tabs using this many cells (changes require restart) +# Spaces per Tab +# +# This setting defines the width of a tab in cells. Changes to this +# value require a restart to take effect. +# +# Some applications, like Emacs, rely on knowing about the width of a tab. +# To prevent unexpected behavior in these applications, it's also required to +# change the `it` value in terminfo when altering this setting. tabspaces: 8 # When true, bold text is drawn using the bright variant of colors. diff --git a/alacritty_macos.yml b/alacritty_macos.yml index 05173e6a..7834cc78 100644 --- a/alacritty_macos.yml +++ b/alacritty_macos.yml @@ -54,7 +54,14 @@ scrolling: # to the terminal. auto_scroll: false -# Display tabs using this many cells (changes require restart) +# Spaces per Tab +# +# This setting defines the width of a tab in cells. Changes to this +# value require a restart to take effect. +# +# Some applications, like Emacs, rely on knowing about the width of a tab. +# To prevent unexpected behavior in these applications, it's also required to +# change the `it` value in terminfo when altering this setting. tabspaces: 8 # When true, bold text is drawn using the bright variant of colors.