Skip to content

The open source coding agent.

TypeScript

wip(desktop): progress

Adam34db7394426d
diff --git a/packages/desktop/src/components/prompt-input.tsx b/packages/desktop/src/components/prompt-input.tsx
index 4dd8d878c79..51c4e24d2af 100644
--- a/packages/desktop/src/components/prompt-input.tsx
+++ b/packages/desktop/src/components/prompt-input.tsx
@@ -478,6 +478,8 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
}
if (event.key === "ArrowUp" || event.key === "ArrowDown") {
+ // Skip history navigation when modifier keys are pressed (used for other commands)
+ if (event.altKey || event.ctrlKey || event.metaKey) return
const { collapsed, onFirstLine, onLastLine } = getCaretLineState()
if (!collapsed) return
const cursorPos = getCursorPosition(editorRef)