diff options
Diffstat (limited to 'src/config/mod.rs')
-rw-r--r-- | src/config/mod.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs index fd40776d..836fe483 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -538,6 +538,10 @@ pub struct Config { #[serde(default, deserialize_with = "failure_default")] enable_experimental_conpty_backend: bool, + /// Send escape sequences using the alt key. + #[serde(default = "default_true_bool", deserialize_with = "deserialize_true_bool")] + alt_send_esc: bool, + // TODO: DEPRECATED custom_cursor_colors: Option<bool>, @@ -1819,6 +1823,12 @@ impl Config { self.enable_experimental_conpty_backend } + /// Send escape sequences using the alt key + #[inline] + pub fn alt_send_esc(&self) -> bool { + self.alt_send_esc + } + // Update the history size, used in ref tests pub fn set_history(&mut self, history: u32) { self.scrolling.history = history; |