:bug: Prevent popping of line if cursor is there
:bug: Prevent popping of line if cursor is there

Do not pop a line from the history if that line contains the cursor.
This will prevent the cursor from being shifted up on existing lines,
which causes the next output to overwrite previous lines.

jeremyramin/term.js,jeremyramin/term.js