diff --git a/codex-rs/tui/src/chatwidget.rs b/codex-rs/tui/src/chatwidget.rs index 475961a8d1..03396dd9a6 100644 --- a/codex-rs/tui/src/chatwidget.rs +++ b/codex-rs/tui/src/chatwidget.rs @@ -5593,6 +5593,7 @@ impl ChatWidget { SlashCommandInvocation::with_args(SlashCommand::Approvals, args).into_user_message() } + #[cfg(all(not(target_os = "linux"), feature = "voice-input"))] fn settings_device_draft(kind: RealtimeAudioDeviceKind, name: Option<&str>) -> UserMessage { let kind_name = match kind { RealtimeAudioDeviceKind::Microphone => "microphone",