screen: properly place the cursor after inserting a file
Instead of setting openfile->current_y (and wrongly so), just call reset_cursor() to recompute current_y and place the cursor on that line (if it is not offscreen).
Showing
+4 -4
Please register or sign in to comment