diff options
| author | Adam <[email protected]> | 2025-12-15 06:24:26 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-12-15 10:20:18 -0600 |
| commit | 34db7394426d0a016fe4c1596501b68541fac321 (patch) | |
| tree | 7c5550f8f82e56adda2d51b6cbdbf9f4c6e432db /packages/desktop/src | |
| parent | ae8c4154aa51f8a89ac90a04e2b1460291bb3fef (diff) | |
| download | opencode-34db7394426d0a016fe4c1596501b68541fac321.tar.gz opencode-34db7394426d0a016fe4c1596501b68541fac321.zip | |
wip(desktop): progress
Diffstat (limited to 'packages/desktop/src')
| -rw-r--r-- | packages/desktop/src/components/prompt-input.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/desktop/src/components/prompt-input.tsx b/packages/desktop/src/components/prompt-input.tsx index 4dd8d878c..51c4e24d2 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) |
