Add /clear command to start a new chat AND clean up the terminal
Resolved 💬 6 comments Opened Sep 7, 2025 by sloikodavid Closed Feb 28, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor)
responded on this thread — see the highlighted reply below.
What feature would you like to see?
I know about /new, but I personally use 'clear' in the terminal all the time, and using /clear just seems more natural. Also, /new doesn't clear the terminal and it ends up being messy - I would like for a /clear command to be added either alongside or in place of /new, and to function like in Claude Code. Since I believe /resume is already being developed, using /clear should obviously save the conversation so that it can be /resume'd later
Also, using /new right now takes a while as there's some weird delay, I'd like to see that fixed for a better experience
Are you interested in implementing this feature?
_No response_
Additional information
_No response_
6 Comments
I'm trying out Codex CLI from Claude Code, and I keep accidentally typing
/clear. 🙃Strongly requested
/clear is a better command.
/clear landed in v0.105.0
Is that what you're looking for?
Yes,
/clearis now supported. It clears the terminal and creates a new thread. If you want to clear the terminal without creating a new thread, you can useCtrl+L.Wait but not in Codex for VSCode?