`/clear – clear screen & context` does not clear the screen

Resolved 💬 3 comments Opened Apr 19, 2025 by harivamsi9 Closed Aug 7, 2025
💡 Likely answer: A maintainer (nerdielol, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

OpenAI Codex (research preview) v0.1.2504172351

Which model were you using?

o4-mini

What platform is your computer?

Darwin 24.4.0 arm64 arm

What steps can reproduce the bug?

Type some text to the codex interactively, and after a few texts type the cmd /clear or clear which should clear the screen & context as it claims. but I believe it is only clearing the context and not the screen.

What I mean by clear screen here is the normal terminal functionality from the cmd clear which would clear the screen.

Please correct me if this isn't a bug, or if the text is slightly misguiding.

Happy to discuss more, and looking forward to hearing from you.

What is the expected behavior?

What I mean by clear screen here is the normal terminal functionality from the cmd clear which would clear the screen.

What do you see instead?

only clearing the context and not the screen.

Additional information

_No response_

View original on GitHub ↗

3 Comments

The-Obstacle-Is-The-Way · 1 year ago

Agreed this has been a persistent bug since day one. /clear does not /clear, and resuming usually throws a "model cannot be found error"

nerdielol contributor · 1 year ago

Resolved in #425 .

codex-maintainers · 1 year ago

Thank you for the feedback! Please try the latest version of Codex CLI to see if the issue persists. If it does, feel free to open a new issue or contribute to the codex-rs/ implementation. We're primarily focused on the native/Rust implementation of Codex CLI.