I have a line with a link:

Its the first line (row) of the terminal.
When I select something in the line and call terminal.getSelectionPosition, the start and end row is 0, this is what I would expect
When I hover the link and receive the location from the WebLinkProvider hover callback the start and end row is 1
Details
- Browser and browser version: Electron 21.2.0
- OS version: Windows 11
- xterm.js version: 5.0.0
- xterm-addon-web-links 0.7.0
Steps to reproduce
- have a line with text and link
- have xterm-addon-web-links with hover callback
- select text, call getSelectionPosition
- hover link, receive location
- compare rows of locations