summaryrefslogtreecommitdiff
path: root/alacritty_terminal
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_terminal
parent812c8bc14a4214e9d0970e7a333be72e745137b2 (diff)
downloadalacritty-3957a2555dbd81271d3e29a2f0b8f07258037e7b.tar.gz
alacritty-3957a2555dbd81271d3e29a2f0b8f07258037e7b.zip
Deprecate the WinPTY backend
Diffstat (limited to 'alacritty_terminal')
-rw-r--r--alacritty_terminal/Cargo.toml2
-rw-r--r--alacritty_terminal/src/config/mod.rs10
2 files changed, 6 insertions, 6 deletions
diff --git a/alacritty_terminal/Cargo.toml b/alacritty_terminal/Cargo.toml
index 83c5b416..89da83bd 100644
--- a/alacritty_terminal/Cargo.toml
+++ b/alacritty_terminal/Cargo.toml
@@ -41,7 +41,7 @@ mio-anonymous-pipes = "0.1"
winpty = { version = "0.2.0", optional = true }
[features]
-default = ["winpty"]
+default = []
bench = []
[dev-dependencies]
diff --git a/alacritty_terminal/src/config/mod.rs b/alacritty_terminal/src/config/mod.rs
index add38c59..98849d90 100644
--- a/alacritty_terminal/src/config/mod.rs
+++ b/alacritty_terminal/src/config/mod.rs
@@ -55,11 +55,6 @@ pub struct Config<T> {
#[serde(default, deserialize_with = "failure_default")]
pub cursor: Cursor,
- /// Use WinPTY backend even if ConPTY is available.
- #[cfg(windows)]
- #[serde(default, deserialize_with = "failure_default")]
- pub winpty_backend: bool,
-
/// Shell startup directory.
#[serde(default, deserialize_with = "option_explicit_none")]
pub working_directory: Option<PathBuf>,
@@ -73,6 +68,11 @@ pub struct Config<T> {
pub hold: bool,
// TODO: DEPRECATED
+ #[cfg(windows)]
+ #[serde(default, deserialize_with = "failure_default")]
+ pub winpty_backend: bool,
+
+ // TODO: DEPRECATED
#[serde(default, deserialize_with = "failure_default")]
pub visual_bell: Option<BellConfig>,