screen: avoid redrawing a line twice
The old_current line needs to be redrawn only if it differs from current, and if it wasn't drawn already by the iteration for when the mark is on. Also make the conditions involving horizontal scrolling more precise.
Showing
+9 -3
Please register or sign in to comment