Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Extra line included when `Open on GitHub` is called with a selection #1843
NOTE: Use the keyboard rather than the mouse to select:
referenced this issue
Aug 8, 2018
You'll probably find this happens when using the keyboard rather than the mouse to select. The reason is that you'll tend to start (or end) the selection on the line below the selected area. If you start your selection at the bottom, this extra line will be completely invisible. If you start your selection at the top, this extra line will be obscured by the blinking caret.
I'm guessing that whoever tested this in the past used the mouse. Initially I was confused because it seemed to sometimes happen and sometimes not happen.
Does that make sense?