aboutsummaryrefslogtreecommitdiff
path: root/alacritty
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2020-11-06 17:33:02 +0000
committerGitHub <noreply@github.com>2020-11-06 17:33:02 +0000
commit3957a2555dbd81271d3e29a2f0b8f07258037e7b (patch)
treef0e5a71b5439e60eb1b20250d6ce289fc1c00bf0 /alacritty
parent812c8bc14a4214e9d0970e7a333be72e745137b2 (diff)
downloadr-alacritty-3957a2555dbd81271d3e29a2f0b8f07258037e7b.tar.gz
r-alacritty-3957a2555dbd81271d3e29a2f0b8f07258037e7b.tar.bz2
r-alacritty-3957a2555dbd81271d3e29a2f0b8f07258037e7b.zip
Deprecate the WinPTY backend
Diffstat (limited to 'alacritty')
-rw-r--r--alacritty/Cargo.toml2
-rw-r--r--alacritty/src/config/mod.rs9
2 files changed, 10 insertions, 1 deletions
diff --git a/alacritty/Cargo.toml b/alacritty/Cargo.toml
index 905003e5..873c3da6 100644
--- a/alacritty/Cargo.toml
+++ b/alacritty/Cargo.toml
@@ -56,7 +56,7 @@ winapi = { version = "0.3.7", features = ["impl-default", "wincon"]}
embed-resource = "1.3"
[features]
-default = ["wayland", "x11", "winpty"]
+default = ["wayland", "x11"]
x11 = ["copypasta/x11", "glutin/x11", "x11-dl"]
wayland = ["copypasta/wayland", "glutin/wayland", "wayland-client"]
winpty = ["alacritty_terminal/winpty"]
diff --git a/alacritty/src/config/mod.rs b/alacritty/src/config/mod.rs
index d268d921..9aa2a74c 100644
--- a/alacritty/src/config/mod.rs
+++ b/alacritty/src/config/mod.rs
@@ -312,6 +312,15 @@ fn print_deprecation_warnings(config: &Config) {
"Config dynamic_title is deprecated; please use window.dynamic_title instead",
)
}
+
+ #[cfg(all(windows, not(feature = "winpty")))]
+ if config.winpty_backend {
+ warn!(
+ target: LOG_TARGET_CONFIG,
+ "Config winpty_backend is deprecated and requires a compilation flag; it should be \
+ removed from the config",
+ )
+ }
}
#[cfg(test)]