wip(desktop): progress

thinking-toggle-wip
Adam 2025-12-15 06:24:26 -06:00 committed by Aiden Cline
parent 668c932631
commit eab1b44f66
1 changed files with 2 additions and 0 deletions

View File

@ -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)