Skip to content

Support page down / up keypresses for interactive --resume session picker #240

@andyfeller

Description

@andyfeller

Describe the feature or problem you'd like to solve

When resuming a past session, it can be extremely slow solely using arrow keys to find the right session. If the session picker supported page up / down keypresses, then it would be a bit faster to find the right session to resume.

Proposed solution

Proposed solution is allowing page up / down keypresses to skip pages when scrolling. This would make it easier getting back to past work, reducing user frustration.

Example prompts or workflows

No response

Additional context

$ copilot --resume
 Select a session to resume:

 #    Modified    Created     Msg  Summary

...
 ▋  511. 1mo ago     1mo ago     5    What does the `cli/cli` repository say is the best way...
 ▋  512. 1mo ago     1mo ago     18   What does the `cli/cli` repository say is the best way...
 ▋  513. 1mo ago     1mo ago     4    I'd like for you to display the `cli/cli` repository readme
 ▋  514. 1mo ago     1mo ago     41   I would like your help enhancing the `cli` logic within...
 ▋  515. 1mo ago     1mo ago     0    (no message content)
 ▋  516. 1mo ago     1mo ago     0    (no message content)

 Use ↑↓ to navigate, Enter to select, Esc to cancel

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:sessionsSession management, resume, history, session picker, and session state
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions