diff --git a/utils/magiedit/main.c b/utils/magiedit/main.c index 249b617..7b96f44 100644 --- a/utils/magiedit/main.c +++ b/utils/magiedit/main.c @@ -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) {