Converts a possibly wrapped link's range (comprised of string indices) into a buffer range that plays nicely with xterm.js
A single line (not the entire buffer)
The number of columns in the terminal
The link range - string indices
The absolute y position (on the buffer) of the line
Converts a possibly wrapped link's range (comprised of string indices) into a buffer range that plays nicely with xterm.js