While I was writing this, actually, I checked the code for `session.append` and it said "insert at last row, column 0" and I was terrified that it was going to insert the newline at the *beginning* of the last line, thus pushing the last line down and not actually adding a newline at the end. Fortunately that's not the case and this works correctly.