Skip to content

Cannot extend text selection beyond the visible terminal area with a trackpad #104

Closed

Description

@LiYian2

Environment

  • macOS 15.8.1
  • Input device: trackpad
  • ELYTerminal version: unknown

Steps to reproduce

  1. Produce enough terminal output to exceed the height of the window.
  2. Using the trackpad, press and drag to select text toward the top or bottom edge of the terminal.
  3. Try to extend the selection into off-screen output. Also try scrolling with two fingers while keeping the selection drag active.

Actual behavior

Dragging to the edge does not automatically scroll the terminal to extend the selection. Scrolling while dragging also does not correctly extend the selection, making it difficult to copy a range spanning more than one screen.

Expected behavior

While selecting, automatically scroll when the pointer reaches the top or bottom edge, and extend the selection across the scrollback. Scrolling with a trackpad while holding the selection should also preserve and extend it.

Checked

  • I searched existing issues for a similar report.

Activity

  1. Raiden-MeixElysia commented on Nov 15, 2026

    @Raiden-MeixElysia
    Contributor

    Thanks. Fixed on main, in the next release, 0.2.5.

    • Dragging a selection past the top or bottom of the terminal now scrolls the history and keeps selecting, faster the farther the pointer goes. That change landed after 0.2.4.
    • A two-finger scroll while you hold the drag now carries the selection with the view. Before, the scroll moved the view but left the selection's end on its old line, so nothing new was selected until the pointer moved.

    Tested on macOS: ten scroll steps during a drag selected 0 characters before the fix and 120 after. Linux and Windows ran the test suite; a real pointer could not be driven there.

  2. added a commit that references this issue on Nov 15, 2026
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