Skip to content

resizing window breaks new input field background styling #4873

Closed

Description

@alextes

What version of Codex is running?

codex-cli 0.45.0

Which model were you using?

gpt-5-codex

What platform is your computer?

Darwin 25.0.0 arm64 arm

What steps can reproduce the bug?

input anything with at least a handful of words.
resize the window so the line gets wrapped.
background styling broken.

i'll be the first to say this is a minor issue at best. otoh, you don't have to add background styling. if you are choosing to do it, do it well.

thanks for an amazing amazing tool ❤️

Image

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

Activity

  1. added
    bug
    on Oct 7, 2025
  2. nornagon-openai commented on Oct 9, 2025

    @nornagon-openai
    Contributor

    looks like this is only an issue when you enter a prompt that's exactly the width of the terminal at the time you submit it, in which case we do not emit a clear-to-EOL sequence at the end of the line.

  3. alextes commented on Oct 9, 2025

    @alextes
    Author

    happens for me with any length. perhaps related to my terminal then? kitty. i didn't try in others but can reproduce.

    Image

  4. nornagon-openai commented on Oct 10, 2025

    @nornagon-openai
    Contributor

    ah, yeah, that looks to me like a kitty bug (or ... behavior? 😬). iterm2 and Terminal.app both handle this correctly. ghostty and xterm.js seem to be broken too.

    also, hello fellow aoeuhtns enjoyer!

  5. alextes commented on Oct 10, 2025

    @alextes
    Author

    clear, closing then, ty @nornagon-openai .

    i was wondering whether anyone would notice i was banging the homerow ha

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions