Skip to content

onScroll doesn't emit when user is scrolling #3201

@schrej

Description

@schrej

User scrolling is currently not emitted as an onScroll event. What's the reason for this? Is this really intended?
I'd like to monitor the scroll state of the terminal in order to notice when it's scrolled all the way down, so I have to notice when the user is scrolling, which is not possible with the current behavior.

Details

  • Browser and browser version: Firefox 84.0.1
  • xterm.js version: 4.9.0

Steps to reproduce

  1. attach event listener with terminal.onScroll()
  2. scroll the terminal using the mouse

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions