[Bug]: Integrated terminal text selection does not auto-scroll downward
Nobody has claimed this yet.
- 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
- Open the integrated terminal.
- 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 - Scroll somewhere into the terminal output.
- Start selecting text near the top of the visible terminal area.
- Keep the mouse button held and drag the pointer below the bottom of the terminal.
- Observe that the terminal does not scroll downward.
- Now start a selection near the bottom and drag the pointer above the top edge.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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