From 1ac44afcc091ef70890ebcb5ff409ae6dc0eef53 Mon Sep 17 00:00:00 2001 From: JJ Liebig Date: Mon, 10 Aug 2026 20:49:41 +0200 Subject: fix(windows): strip elevated terminal title decoration (#2632) --- src/platform/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/platform/mod.rs') diff --git a/src/platform/mod.rs b/src/platform/mod.rs index d8613be4..e3f9c7f4 100644 --- a/src/platform/mod.rs +++ b/src/platform/mod.rs @@ -39,6 +39,11 @@ pub(crate) fn apply_pane_runtime_marker(command: &mut portable_pty::CommandBuild apply_pane_runtime_marker_platform(command); } +#[cfg(not(windows))] +pub(crate) fn terminal_title_for_presentation(title: &str) -> &str { + title +} + #[cfg(not(windows))] fn apply_pane_runtime_marker_platform(_command: &mut portable_pty::CommandBuilder) {} -- cgit v1.2.3