Enable dynamic title in Rio and Foot terminals (#10115)

This commit is contained in:
Yonas Yanfa 2023-11-24 11:04:50 -05:00 committed by GitHub
parent 1980a22522
commit 1c2440c3ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -594,7 +594,8 @@ fn does_term_support_setting_title(vars: &EnvStack) -> bool {
#[rustfmt::skip]
const TITLE_TERMS: &[&wstr] = &[
L!("xterm"), L!("screen"), L!("tmux"), L!("nxterm"),
L!("rxvt"), L!("alacritty"), L!("wezterm"),
L!("rxvt"), L!("alacritty"), L!("wezterm"), L!("rio"),
L!("foot"),
];
let Some(term) = vars.get_unless_empty(L!("TERM")).map(|v| v.as_string()) else {