Skip to content

feat(tui): add Ctrl+U/Ctrl+D paging in the task output viewer - #1078

Merged
liruifengv merged 2 commits into
mainfrom
feat/task-output-ctrl-ud-paging
Jun 24, 2026
Merged

feat(tui): add Ctrl+U/Ctrl+D paging in the task output viewer#1078
liruifengv merged 2 commits into
mainfrom
feat/task-output-ctrl-ud-paging

Conversation

@liruifengv

Copy link
Copy Markdown
Collaborator

Related Issue

No linked issue.

Problem

In the task output viewer (opened from /tasks), page navigation relies on PgUp/PgDn. On macOS running inside tmux, those keys are often captured by the terminal or tmux scrollback and never reach the app, leaving no reliable way to scroll by page. The existing Ctrl+B shortcut is also intercepted because it is the default tmux prefix.

What changed

Add Ctrl+U (page up) and Ctrl+D (page down) as full-page scrolling alternatives in the task output viewer, matching the existing PgUp/PgDn behavior, and surface them in the footer hint. Matching through Key.ctrl(...) covers the traditional control-character, Kitty keyboard protocol, and tmux modifyOtherKeys input paths, so the new shortcuts work under tmux as well. Tests cover both new bindings.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

PgUp/PgDn are often captured by terminal or tmux scrollback, so add Ctrl+U and Ctrl+D as full-page up and down alternatives, matching the existing PgUp/PgDn behavior.
@changeset-bot

changeset-bot Bot commented Jun 24, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 931b9c4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Jun 24, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@931b9c4
npx https://pkg.pr.new/@moonshot-ai/kimi-code@931b9c4

commit: 931b9c4

@liruifengv
liruifengv merged commit 75ca3b2 into main Jun 24, 2026
8 checks passed
@liruifengv
liruifengv deleted the feat/task-output-ctrl-ud-paging branch June 24, 2026 13:00
@github-actions github-actions Bot mentioned this pull request Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant