mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
wip(desktop): progress
This commit is contained in:
parent
ae8c4154aa
commit
34db739442
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue