[PR #7924] add rowsToScroll to scrollUp/Down w/ fallback to system default #27028

Closed
opened 2026-01-31 09:19:34 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/7924

State: closed
Merged: Yes


Summary of the Pull Request

  • The number of lines to move upon scroll up scroll down can be defined
    in ScrollUp and ScrollDown commands (parameter is called
    "rowsToScroll").
  • If the number are not provided, use the system default (the one we are
    using for mouse scrolls), rather than 1 line.

Validation Steps Performed

  • Manual testing
  • Added custom bindings for scroll commands with different values,
    verified they and the default appear and behave as expected
  • Checked that invalid values are not allowed

Closes #5078

**Original Pull Request:** https://github.com/microsoft/terminal/pull/7924 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request - The number of lines to move upon scroll up scroll down can be defined in ScrollUp and ScrollDown commands (parameter is called "rowsToScroll"). - If the number are not provided, use the system default (the one we are using for mouse scrolls), rather than 1 line. ## Validation Steps Performed * Manual testing * Added custom bindings for scroll commands with different values, verified they and the default appear and behave as expected * Checked that invalid values are not allowed Closes #5078
claunia added the pull-request label 2026-01-31 09:19:34 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#27028