Fix ctrl-y going of top of the screen
This commit is contained in:
parent
d623ee1f10
commit
b37a2eea9a
@ -606,6 +606,10 @@ char *message_editor() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (position_y < top_of_screen) {
|
||||||
|
top_of_screen--;
|
||||||
|
}
|
||||||
|
|
||||||
// refresh screen;
|
// refresh screen;
|
||||||
position_x = 0;
|
position_x = 0;
|
||||||
if (position_y <= body_line_count) {
|
if (position_y <= body_line_count) {
|
||||||
|
Reference in New Issue
Block a user