From 1c2440c3ac6a2373c7e41d2c43601710dcb659ba Mon Sep 17 00:00:00 2001 From: Yonas Yanfa Date: Fri, 24 Nov 2023 11:04:50 -0500 Subject: [PATCH] Enable dynamic title in Rio and Foot terminals (#10115) --- fish-rust/src/env_dispatch.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fish-rust/src/env_dispatch.rs b/fish-rust/src/env_dispatch.rs index 5572da44c..a31ce2088 100644 --- a/fish-rust/src/env_dispatch.rs +++ b/fish-rust/src/env_dispatch.rs @@ -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 {