Skip to content

fix(tui): keep command palette available in questions#29948

Open
opencode-agent[bot] wants to merge 1 commit into
devfrom
fix/tui-palette-question-mode
Open

fix(tui): keep command palette available in questions#29948
opencode-agent[bot] wants to merge 1 commit into
devfrom
fix/tui-palette-question-mode

Conversation

@opencode-agent
Copy link
Copy Markdown
Contributor

Summary

  • make the command palette shortcut mode-independent so it works while question prompts are active
  • keep the shortcut disabled while a modal dialog is already open
  • extend the TUI keymap test coverage for command palette bindings outside base mode

Tests

  • bun test test/cli/tui/keymap.test.tsx
  • bun typecheck
  • pre-push hook: bun turbo typecheck

@opencode-agent
Copy link
Copy Markdown
Contributor Author

TUI screenshot proof

agent-tui raw ANSI stream rendered through xterm.js and captured with Playwright:

TUI command palette while question prompt is active

Asset is attached to the PR-scoped prerelease: https://github.com/anomalyco/opencode/releases/tag/pr-29948-screenshots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants