Skip to content

TUI: redraw screen on resume after suspend #3464

Closed as not planned
Closed as not planned

Description

@rmilkowski

What feature would you like to see?

I often do ctrl+z while in Codex cli, execute some commands and the go back to codex. It would be useful if it automatically redraw the screen on fg and/or ctrl+l to force screen redraw (after terminal resize, etc.)

Are you interested in implementing this feature?

no

Additional information

No response

Activity

  1. added
    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal display
    on Nov 9, 2025
  2. etraut-openai commented on Dec 7, 2025

    @etraut-openai
    Contributor

    Thanks for the suggestion. This hasn't received any upvotes or additional posts in nearly three months, so I'm going to close.

  3. Nintorac commented on Jan 28, 2026

    @Nintorac

    so...how to trigger a redraw?

    its pretty annoying that on fg there is nothing on the screen

    Apparently this bug only occurs for people using codex on SSH'd machines.

    @etraut-openai can you change this to a bug, it does not seem like a feature request or an enhancement to me


    I tried dragging the window to have no height and then pulling it back...that resulted in this

    Image

    some people suggest using tmux, I am but it hasn't worked for me


    WORKAROUND: Pressing ctrl + t will allow you to view things temporarily, but if you want to send more commands you have to exit this mode

  4. etraut-openai commented on Jan 28, 2026

    @etraut-openai
    Contributor

    @Nintorac, feel free to open a bug report. Please provide repro steps and any other details that are relevant for diagnosis. And if you are so inclined, feel free to investigate further by cloning the Codex sources and doing some diagnosis.

    TUI issues like this are complicated by the fact that there are so many different terminal emulators across many platforms, and each of them has different behaviors.

  5. Nintorac commented on Jan 28, 2026

    @Nintorac

    Thanks for the quick response!

    I can - but this issue does contain all the steps, but to be explicit

    1. open codex
    2. type something and hit enter
    3. press ctrl z
    4. type fg
    5. only the input box is redrawn

    Curious to why this ticket hasn't got more engagement..is this perhaps something peculiar to my setup? or is ctrl + z not a common pattern among devs?

  6. locked and limited conversation to collaborators on Jan 28, 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

    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions