wip(desktop): progress

This commit is contained in:
Adam 2025-12-15 06:24:26 -06:00
parent ae8c4154aa
commit 34db739442
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75

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)