aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2018-09-18 22:20:59 +0200
committerChristian Duerr <chrisduerr@users.noreply.github.com>2018-09-18 20:20:59 +0000
commit05d40a8adcfb12681d849f36f25263166c7d7bc1 (patch)
tree86bde69e36b4d79b9fb3b8f0daa75c5d296476e3
parent00bd098765f9e1a36e1813336f8c9690ebdd5e78 (diff)
downloadalacritty-05d40a8adcfb12681d849f36f25263166c7d7bc1.tar.gz
alacritty-05d40a8adcfb12681d849f36f25263166c7d7bc1.zip
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.
-rw-r--r--alacritty.yml9
-rw-r--r--alacritty_macos.yml9
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.