From d4366be7392a0eabd46ee657139f105ff365509a Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Sun, 17 Sep 2017 19:15:47 +1000 Subject: [PATCH] Work around for displaying mail in HTMLTerm --- mail_menu.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mail_menu.c b/mail_menu.c index 5889a7e..755d3db 100644 --- a/mail_menu.c +++ b/mail_menu.c @@ -1538,7 +1538,7 @@ void read_message(struct user_record *user, struct msg_headers *msghs, int mailn should_break = 0; while (!should_break) { - s_printf("\e[7;1H\e[J"); + s_printf("\e[7;1H"); for (z=position;z msg_line_count) { + if (position + 15 >= msg_line_count) { position--; } } else if (c == 67) {