@@ -27,13 +27,13 @@ impl Capabilities {
2727 /// on the $TERM environment variable. If detection fails, returns
2828 /// a default value where no capability is supported.
2929 pub fn from_env_or_default() -> Self {
30− match cxterminfo::terminfo::TermInfo::from_env() {
30+ match termini::TermInfo::from_env() {
3131 Err(_) => Capabilities::default(),
3232 Ok(t) => Capabilities {
3333 // Smulx, VTE: https://unix.stackexchange.com/a/696253/246284
3434 // Su (used by kitty): https://sw.kovidgoyal.net/kitty/underlines
35− has_extended_underlines: t.get_ext_string("Smulx").is_some()
36− || *t.get_ext_bool("Su").unwrap_or(&false)
35+ has_extended_underlines: t.extended_cap("Smulx").is_some()
36+ || t.extended_cap("Su").is_some()
3737 || vte_version() >= Some(5102),
3838 },
3939 }