Skip to content

Stream live output from background terminal processes #14928

Open

Description

@chizkiyahu

What variant of Codex are you using?

CLI (background terminal)

What feature would you like to see?

When Codex runs commands in a background terminal, it currently only shows a very limited preview of the output (e.g., the first few lines). The full output is only available after the process finishes (via Ctrl + t).

It would be very useful to have a way to stream or view the full live output while the process is still running.

Example use cases

  • Running a long script (e.g., printing numbers every second)
  • Build processes
  • Intermediate steps in multi-stage tasks

In these cases, not being able to see live output makes it difficult to:

  • Monitor progress
  • Debug issues early
  • Understand what the process is doing in real time

Additional information

Current behavior:

  • /ps only shows a short preview (≈3 lines)
  • Ctrl + t only works after the process has completed

Activity

  1. added
    enhancement
    on Mar 17, 2026
  2. added
    CLI
    TUI
    on Mar 17, 2026
  3. github-actions commented on Mar 17, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  4. removed
    CLI
    on Mar 17, 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

    TUIenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions