summaryrefslogtreecommitdiff
path: root/src/platform/mod.rs
diff options
context:
space:
mode:
authorJJ Liebig <jonathan.liebig@gmail.com>2026-08-10 20:49:41 +0200
committerGitHub <noreply@github.com>2026-08-10 21:49:41 +0300
commit1ac44afcc091ef70890ebcb5ff409ae6dc0eef53 (patch)
tree6c399ab93fa285093920844927610c7c4d0cdba8 /src/platform/mod.rs
parent7e4ab7b034078b5ac22b514fb7008f0b288687a6 (diff)
fix(windows): strip elevated terminal title decoration (#2632)
Diffstat (limited to 'src/platform/mod.rs')
-rw-r--r--src/platform/mod.rs5
1 files changed, 5 insertions, 0 deletions
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
@@ -40,6 +40,11 @@ pub(crate) fn apply_pane_runtime_marker(command: &mut portable_pty::CommandBuild
}
#[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) {}
pub(crate) fn configure_background_command(command: &mut std::process::Command) {