diff options
| author | JJ Liebig <jonathan.liebig@gmail.com> | 2026-08-10 20:49:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-10 21:49:41 +0300 |
| commit | 1ac44afcc091ef70890ebcb5ff409ae6dc0eef53 (patch) | |
| tree | 6c399ab93fa285093920844927610c7c4d0cdba8 /src/platform/mod.rs | |
| parent | 7e4ab7b034078b5ac22b514fb7008f0b288687a6 (diff) | |
fix(windows): strip elevated terminal title decoration (#2632)
Diffstat (limited to 'src/platform/mod.rs')
| -rw-r--r-- | src/platform/mod.rs | 5 |
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) { |
