Skip to content

Rewind (double escape) should not be shown if there is no user's message. #19508

@vinhnx

Description

@vinhnx

What version of Codex CLI is running?

v0.125.0

What subscription do you have?

Free

Which model were you using?

gpt-5.4-mini

What platform is your computer?

Darwin 25.4.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

Ghostty

What issue are you seeing?

Tool UX Feedback: Rewind (double escape) should not be shown if there is no user's message.

Currently, when opening Codex CLI and not typing any message, double-pressing the Esc key triggers the Transcript Logs Viewer tool, but it includes no actual message, just a header info TUI box => so showing the transcript doesn't do anything. I think we should have a way to check and prevent the Transcript tool from showing up when there are no messages (both user messages and agent messages). And showing a TUI info message when this happens. Just a quality-of-life improvement suggestion.

Current (no message)
Image

Expect (as normal, has user's messages)

Image

What steps can reproduce the bug?

Uploaded thread: 019dc328-31eb-7752-863a-fa87af7be199

What is the expected behavior?

Expect: (as normal, has user's messages) => Transcript log is showing only when there are User's message only.

Image

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions