mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
feat: Add btw alias for side slash command (#23592)
This commit is contained in:
committed by
GitHub
Unverified
parent
e9f59e30d9
commit
f198ca115b
@@ -38,6 +38,7 @@ pub enum SlashCommand {
|
||||
Goal,
|
||||
Agent,
|
||||
Side,
|
||||
Btw,
|
||||
Copy,
|
||||
Raw,
|
||||
Diff,
|
||||
@@ -114,7 +115,9 @@ impl SlashCommand {
|
||||
SlashCommand::Plan => "switch to Plan mode",
|
||||
SlashCommand::Goal => "set or view the goal for a long-running task",
|
||||
SlashCommand::Agent | SlashCommand::MultiAgents => "switch the active agent thread",
|
||||
SlashCommand::Side => "start a side conversation in an ephemeral fork",
|
||||
SlashCommand::Side | SlashCommand::Btw => {
|
||||
"start a side conversation in an ephemeral fork"
|
||||
}
|
||||
SlashCommand::Permissions => "choose what Codex is allowed to do",
|
||||
SlashCommand::Keymap => "remap TUI shortcuts",
|
||||
SlashCommand::Vim => "toggle Vim mode for the composer",
|
||||
@@ -154,6 +157,7 @@ impl SlashCommand {
|
||||
| SlashCommand::Raw
|
||||
| SlashCommand::Pets
|
||||
| SlashCommand::Side
|
||||
| SlashCommand::Btw
|
||||
| SlashCommand::Resume
|
||||
| SlashCommand::SandboxReadRoot
|
||||
)
|
||||
@@ -217,7 +221,8 @@ impl SlashCommand {
|
||||
| SlashCommand::Ide
|
||||
| SlashCommand::Quit
|
||||
| SlashCommand::Exit
|
||||
| SlashCommand::Side => true,
|
||||
| SlashCommand::Side
|
||||
| SlashCommand::Btw => true,
|
||||
SlashCommand::Rollout => true,
|
||||
SlashCommand::TestApproval => true,
|
||||
SlashCommand::Realtime => true,
|
||||
|
||||
Reference in New Issue
Block a user