aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2020-03-01 04:07:36 +0000
committerGitHub <noreply@github.com>2020-03-01 07:07:36 +0300
commit8c6422458299496f6fa2a6984c93bd05b55c1888 (patch)
tree20197a827cbe8b06bd9f6d45be102fc2d8821a3e /alacritty/src
parentbea6ece3f6e4f116e9f0319b6d0002943f28e3b8 (diff)
downloadr-alacritty-8c6422458299496f6fa2a6984c93bd05b55c1888.tar.gz
r-alacritty-8c6422458299496f6fa2a6984c93bd05b55c1888.tar.bz2
r-alacritty-8c6422458299496f6fa2a6984c93bd05b55c1888.zip
Remove `tabspaces` config option
This completely removes the tabspaces option from the Alacritty configuration, due to frequent misuse of it. Based on some research, none of the terminal emulators support setting the value for tabspaces or read the terminfo to determine init_tabs value at startup. The tested terminal emulators were URxvt, XTerm, and Termite.
Diffstat (limited to 'alacritty/src')
-rw-r--r--alacritty/src/config/mod.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/alacritty/src/config/mod.rs b/alacritty/src/config/mod.rs
index d7b702b9..2a598714 100644
--- a/alacritty/src/config/mod.rs
+++ b/alacritty/src/config/mod.rs
@@ -209,6 +209,14 @@ fn print_deprecation_warnings(config: &Config) {
safely removed from the config"
);
}
+
+ if config.tabspaces.is_some() {
+ warn!(
+ target: LOG_TARGET_CONFIG,
+ "Config tabspaces has been removed and is now always 8, it can be safely removed from \
+ the config"
+ );
+ }
}
#[cfg(test)]