Commit 58827478 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(update_frame_line): When writing a whole line, make

sure cursor is in the right row afterwards, otherwise a use of
capability `ch' in cmgoto might leave the cursor in the row below.
parent 39a5713c
No preview for this file type
......@@ -4977,7 +4977,11 @@ update_frame_line (frame, vpos)
cursor_to (vpos, nlen);
clear_end_of_line (FRAME_WINDOW_WIDTH (frame));
/* Make sure we are in the right row, otherwise cursor movement
with cmgoto might use `ch' in the wrong row. */
cursor_to (vpos, 0);
make_current (desired_matrix, current_matrix, vpos);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment