Skip to content

[Feature]: Make the DCP panel usable with the keyboard #591

Description

@cairodavila

Problem

The new DCP panel is difficult to use without a mouse. I can open it and close it with Escape, but actions like Context, Stats, Manual mode, and Back cannot be selected from the keyboard.

Since OpenCode is a terminal app, it would be nice to use the whole panel without reaching for the mouse.

Proposed Solution

Add basic keyboard navigation to the panel:

  • Tab or arrow keys to move between actions
  • Enter to open Context or Stats
  • Enter or Space to toggle Manual mode
  • A visible highlight for the currently selected action

Mouse support can stay as it is.

Alternatives Considered

Slash commands help with compression, but they do not replace navigation for the panel views and settings.

Additional Context

Tested with DCP 3.1.14 and OpenCode 1.18.7.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions