tweaked /clear to support clear + new chat, also fix minor bug for macos terminal (#12520)

# /clear feature! 

Use /clear to start a new chat with Codex on a clean terminal!
This commit is contained in:
Won Park
2026-02-23 09:11:05 -08:00
committed by GitHub
parent 6e60f724bc
commit a606e85859
4 changed files with 71 additions and 63 deletions

View File

@@ -68,7 +68,7 @@ impl SlashCommand {
SlashCommand::Review => "review my current changes and find issues",
SlashCommand::Rename => "rename the current thread",
SlashCommand::Resume => "resume a saved chat",
SlashCommand::Clear => "clear the terminal screen and scrollback",
SlashCommand::Clear => "clear the terminal and start a new chat",
SlashCommand::Fork => "fork the current chat",
// SlashCommand::Undo => "ask Codex to undo a turn",
SlashCommand::Quit | SlashCommand::Exit => "exit Codex",