diff --git a/helix-tui/src/backend/crossterm.rs b/helix-tui/src/backend/crossterm.rs index e8947ee08..5c5bafded 100644 --- a/helix-tui/src/backend/crossterm.rs +++ b/helix-tui/src/backend/crossterm.rs @@ -77,7 +77,8 @@ impl Capabilities { pub fn from_env_or_default(config: &EditorConfig) -> Self { match termini::TermInfo::from_env() { Err(_) => Capabilities { - has_extended_underlines: config.undercurl, + has_extended_underlines: config.undercurl + || matches!(term_program().as_deref(), Some("WezTerm")), ..Capabilities::default() }, Ok(t) => Capabilities {