fix: make Shift+Tab enter plan mode before auto-approve (#1197)

This commit is contained in:
Devansh Jain
2026-03-03 12:58:07 -08:00
committed by GitHub
parent 68e4bc0b4a
commit be7606824b
2 changed files with 19 additions and 1 deletions

View File

@@ -1041,8 +1041,8 @@ export function Input({
// Cycle through permission modes
const modes: PermissionMode[] = [
"default",
"acceptEdits",
"plan",
"acceptEdits",
"bypassPermissions",
];
const currentIndex = modes.indexOf(currentMode);