mirror of
https://github.com/openai/codex.git
synced 2026-11-20 07:06:24 +00:00
Allow /copy to copy status output and individual fields (#43055)
## Why `/copy` only offered the last assistant response and its code blocks or quotes, leaving `/status` output unavailable in the copy picker. ## What changed After `/status`, offer the whole status as plain text, the model, the full directory path, and the thread name and session ID when present. Preserve the displayed status fields across repeated copies and include refreshed rate limits in whole-status copies. Return to assistant-response copying after a later user message, assistant response, or command other than `/copy`. Rename the picker to “Copy to clipboard”. ## Testing Add snapshots and regression tests covering status text and field selection, missing fields, full directory paths, repeated copying, refreshed limits, and returning to response copying after subsequent turns and commands, including queued commands. GitOrigin-RevId: 9424cdca9753c834971992ca29494161957b50c4
This commit is contained in:
1 parent
89208f09f8
commit
52e73e3a54
12 files changed
+367
-79
No files matched your search
@@ -101,7 +101,7 @@ impl SlashCommand {
|
||||
SlashCommand::Fork => "fork the current chat",
|
||||
SlashCommand::App => "continue this session in the Desktop app",
|
||||
SlashCommand::Quit | SlashCommand::Exit => "exit Codex",
|
||||
SlashCommand::Copy => "copy the last response, code block, or quote",
|
||||
SlashCommand::Copy => "copy the last response or part of it",
|
||||
SlashCommand::Export => "export the conversation as markdown",
|
||||
SlashCommand::Raw => "toggle raw scrollback mode for copy-friendly terminal selection",
|
||||
SlashCommand::Diff => "show git diff (including untracked files)",
|
||||
|
||||
Reference in new issue
Block a user