Fix ctrl-y going of top of the screen

This commit is contained in:
Andrew Pamment 2017-09-10 19:28:58 +10:00
parent d623ee1f10
commit b37a2eea9a

View File

@ -606,6 +606,10 @@ char *message_editor() {
}
}
if (position_y < top_of_screen) {
top_of_screen--;
}
// refresh screen;
position_x = 0;
if (position_y <= body_line_count) {