From df2cb2c3a585bdb22bb670f6da8147c7c1ffe982 Mon Sep 17 00:00:00 2001 From: Can Celik Date: Sat, 1 Aug 2026 21:25:20 +0300 Subject: fix(windows): detect agents across git bash exec boundaries (#2170) refs #2107 --- src/platform/mod.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/platform/mod.rs') diff --git a/src/platform/mod.rs b/src/platform/mod.rs index 613bff1a..38d797d1 100644 --- a/src/platform/mod.rs +++ b/src/platform/mod.rs @@ -35,6 +35,13 @@ pub(crate) fn pane_custom_command_pty_builder(command: &str) -> portable_pty::Co pane_custom_command_pty_builder_platform(command) } +pub(crate) fn apply_pane_runtime_marker(command: &mut portable_pty::CommandBuilder) { + apply_pane_runtime_marker_platform(command); +} + +#[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) { configure_background_command_platform(command); } -- cgit v1.2.3