pingdotgg / pingdotgg/t3code

[Bug]: Integrated terminal text selection does not auto-scroll downward

Open
#12,102 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
23k
Forks
5.9k
Avg merge
11h 14m
Merged PRs (30d)
357

Description

Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/desktop

Steps to reproduce
  1. Open the integrated terminal.
  2. Generate several screens of scrollable output, for example:
    for i in {1..500}; do echo "Test output line $i - safe dummy terminal text for scrolling"; done
  3. Scroll somewhere into the terminal output.
  4. Start selecting text near the top of the visible terminal area.
  5. Keep the mouse button held and drag the pointer below the bottom of the terminal.
  6. Observe that the terminal does not scroll downward.
  7. Now start a selection near the bottom and drag the pointer above the top edge.
  8. Observe that the terminal does scroll upward, but very slowly.
Expected behavior

Dragging a text selection beyond either the top or bottom edge of the terminal should automatically scroll in that direction at a usable speed.

The behaviour should be consistent in both directions.

Actual behavior
  • Top-to-bottom selection: no downward auto-scroll.
  • Bottom-to-top selection: upward auto-scroll works, but is very slow.
  • Manual scrolling after making a selection works once the selection popup is dismissed.
Impact

Minor bug or occasional failure

Version or commit

No response

Environment

T3 Code V0.0.42, MacOS: Golden Gate 27.0, Input Device: trackpad and mouse

Logs or stack traces

Screenshots, recordings, or supporting files

Screen Recording 2026-09-16 at 16.27.11.mov

Workaround

Making smaller selections when selecting from top to bottom or resizing terminal window

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in apps/desktop by reproducing the integrated terminal selection behavior described in the steps, then locate the terminal text-selection and auto-scroll entry points. Verify the fix by dragging selections beyond both the top and bottom edges and confirming scrolling works consistently at a usable speed.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.