From d0ca65e584d7cf80f353837dee657416fb2cf09a Mon Sep 17 00:00:00 2001 From: Matthew Zeng Date: Mon, 5 Jan 2026 11:35:27 -0800 Subject: [PATCH] update --- codex-rs/tui/src/onboarding/auth.rs | 6 ++++++ codex-rs/tui2/src/onboarding/auth.rs | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/codex-rs/tui/src/onboarding/auth.rs b/codex-rs/tui/src/onboarding/auth.rs index 6307e6e7dc9..9de8fd17093 100644 --- a/codex-rs/tui/src/onboarding/auth.rs +++ b/codex-rs/tui/src/onboarding/auth.rs @@ -279,6 +279,12 @@ impl AuthModeWidget { lines.push("".into()); lines.push(Line::from(state.auth_url.as_str().cyan().underlined())); lines.push("".into()); + lines.push(Line::from(vec![ + " On a remote or headless machine? Use ".into(), + "codex login --device-auth".cyan(), + " instead".into(), + ])); + lines.push("".into()); } lines.push(" Press Esc to cancel".dim().into()); diff --git a/codex-rs/tui2/src/onboarding/auth.rs b/codex-rs/tui2/src/onboarding/auth.rs index 6307e6e7dc9..9de8fd17093 100644 --- a/codex-rs/tui2/src/onboarding/auth.rs +++ b/codex-rs/tui2/src/onboarding/auth.rs @@ -279,6 +279,12 @@ impl AuthModeWidget { lines.push("".into()); lines.push(Line::from(state.auth_url.as_str().cyan().underlined())); lines.push("".into()); + lines.push(Line::from(vec![ + " On a remote or headless machine? Use ".into(), + "codex login --device-auth".cyan(), + " instead".into(), + ])); + lines.push("".into()); } lines.push(" Press Esc to cancel".dim().into());