bugfix: cursor.row instead of cursor.line, previous was incorrect so resulting in NaN