diff --git a/app/buck2_client_ctx/src/console_interaction_stream.rs b/app/buck2_client_ctx/src/console_interaction_stream.rs index e8f958bf9e608..199e3a4fa1235 100644 --- a/app/buck2_client_ctx/src/console_interaction_stream.rs +++ b/app/buck2_client_ctx/src/console_interaction_stream.rs @@ -109,7 +109,22 @@ mod interactive_terminal { } } -#[cfg(not(unix))] +#[cfg(windows)] +mod interactive_terminal { + pub struct InteractiveTerminal; + + impl InteractiveTerminal { + pub fn enable() -> buck2_error::Result> { + Ok(None) + } + + pub fn disable(&mut self) -> buck2_error::Result<()> { + Ok(()) + } + } +} + +#[cfg(not(any(unix, windows)))] mod interactive_terminal { pub struct InteractiveTerminal;