commit | acb394aec0c165f827381165f9e541bf77501a54 | [log] [tgz] |
---|---|---|
author | David Lawrence Ramsey <pooka109@gmail.com> | Thu Jan 05 21:38:00 2017 -0600 |
committer | Benno Schulenberg <bensberg@justemail.net> | Fri Jan 06 14:00:37 2017 +0100 |
tree | a5677ae7473a92790067dabd275d931d205d908d | |
parent | 4223b83f7567e87af307d614a9b64659d949a32a [diff] |
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).