Skip to content

[CLI][WSL] Local file previews obscure the path, blur PNGs, and show HTML source #62937

Open

Description

@iyuzhang

What variant of Codex are you using?

Codex CLI (TUI) 0.171.0 runs inside Ubuntu 24.04 on WSL2. WezTerm 20260331-040028-577474d8 is installed and runs natively on the Windows host.

What feature would you like to see?

Make local file links and previews usable for reviewing generated artifacts. When I click a local Markdown link in a Codex response, the TUI opens the file in its sidebar. I run into three problems:

  • The full path is hard to get. The chat shows the Markdown link label and the sidebar header can truncate the filename. The absolute path is not visible in the active preview. Without the path, I have trouble finding the file manually.
  • PNG previews are too blurry to read. A 1440 × 978 dashboard has small labels and tables that remain hard to read with the sidebar at maximum width. The same PNG is legible when viewed outside the TUI.
  • HTML opens as source. The sidebar shows the markup for a generated .html file. To review the result, I need to see the rendered page.

I would like to be able to see or copy the complete path and inspect the actual output. A readable image preview with zoom and a rendered HTML view could address the preview issues. An Open externally action that hands the file from WSL2 to the Windows default viewer or browser would also help, especially when the TUI preview cannot show the artifact as intended.

Additional information

  1. Run Codex CLI inside WSL2 in a native Windows WezTerm window. Ask it to link to a local PNG with small text and a standalone HTML file using descriptive Markdown labels and absolute WSL paths. Example: [Open dashboard](/home/example/workspace/dashboard.png).
  2. Click the PNG link. Check whether the complete path is visible, expand the sidebar, and compare the small text with the same PNG in a Windows image viewer.
  3. Click the HTML link. The sidebar displays HTML source.

Related: #62732 overlaps on HTML opening as source and on the option to open files in the OS default app. This report also covers PNG legibility and access to the full path from the active preview on WSL2.

Activity

  1. added
    enhancementNew feature or request
    CLIIssues related to the Codex CLI
    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal display
    windows-osIssues related to Codex on Windows systems
    on Nov 21, 2026
  2. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. changed the title [-][CLI][WSL] Add Open externally and Copy absolute path to local file previews[/-] [+][CLI][WSL] Local file previews obscure the path, blur PNGs, and show HTML source[/+] on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayenhancementNew feature or requestwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions