openai / openai/codex

Terminal links open in external browser instead of in-app

Open
#38,387 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app
Dominant language
Rust
Stars
125k
Forks
19.5k
PR merge metrics
PR metrics pending

Description

What version of the Codex App are you using (From “About Codex” dialog)?

26.803.81509

What subscription do you have?

Plus

What platform is your computer?

Linux 7.1.8-100.fc43.x86_64 x86_64

What issue are you seeing?

Links opened from the integrated terminal in the ChatGPT Codex app for Linux are being launched in the system's external browser instead of opening inside the app.

This behavior is inconsistent with links clicked from the chat interface, which correctly open inside the app.

What steps can reproduce the bug?
  1. Open the ChatGPT Codex app on Linux.
  2. Open or use the integrated terminal.
  3. Run a command or application that outputs a clickable URL.
  4. Click the URL from the terminal.
  5. Observe that the link opens in the default external browser.
  6. Click a URL from a chat message.
  7. Observe that the link opens correctly inside the ChatGPT Codex app.
What is the expected behavior?

Links clicked from the integrated terminal should follow the same link-handling behavior as links clicked from the chat and open inside the app.

Additional information

The issue appears to be specific to links originating from the terminal, since the in-app browser/navigation works correctly when opening links from chat messages.

  • Chat links: open inside the app.
  • Terminal links: open in the system's external browser.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how clickable URLs from the integrated terminal are handled, then compare that path with link handling from chat messages. Reproduce the issue on Linux and verify that terminal links open inside the app like chat links, while preserving the reported external-browser behavior as the failure case.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, rust
Domain
cli, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.