Extra newline selected at end of buffer
Start selecting text somewhere, and select all the way to the bottom by moving the mouse downwards from the window. Copy-paste this text.
There's a newline after the last row of text. This is expected. And then there's yet another extra newline in the buffer.