Skip to content

Add scroll-to-bottom button for terminal sessions #145

@jrschumacher

Description

@jrschumacher

Feature

When returning to a terminal session after being away, the viewport is often scrolled up from the bottom. You have to manually scroll down to see the latest output. A "scroll to bottom" button would fix this.

Current behavior

  • Switch away from a terminal tab or leave and come back
  • Terminal viewport stays wherever it was scrolled to (or drifts up)
  • Have to manually scroll to the bottom to see current output

Expected behavior

  • A scroll-to-bottom button (e.g., a down-arrow affordance) appears when the terminal is not scrolled to the bottom
  • Clicking it instantly jumps to the latest output
  • Button hides when already at the bottom

Why

The root cause of the viewport not staying at the bottom should be investigated separately, but this is a useful stopgap — and a generally good UX pattern for terminal views regardless. Many terminal emulators and chat UIs have this. Even after the underlying scroll issue is fixed, a scroll-to-bottom button remains useful when a user has scrolled up to review history and wants to quickly jump back down.

Environment

  • macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions