Work around for displaying mail in HTMLTerm
This commit is contained in:
parent
4e52eaca54
commit
d4366be739
@ -1538,7 +1538,7 @@ void read_message(struct user_record *user, struct msg_headers *msghs, int mailn
|
|||||||
should_break = 0;
|
should_break = 0;
|
||||||
|
|
||||||
while (!should_break) {
|
while (!should_break) {
|
||||||
s_printf("\e[7;1H\e[J");
|
s_printf("\e[7;1H");
|
||||||
for (z=position;z<msg_line_count;z++) {
|
for (z=position;z<msg_line_count;z++) {
|
||||||
|
|
||||||
s_printf("%s\e[K\r\n", msg_lines[z]);
|
s_printf("%s\e[K\r\n", msg_lines[z]);
|
||||||
@ -1547,6 +1547,7 @@ void read_message(struct user_record *user, struct msg_headers *msghs, int mailn
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
s_printf(get_string(187));
|
s_printf(get_string(187));
|
||||||
s_printf(get_string(186));
|
s_printf(get_string(186));
|
||||||
c = s_getc();
|
c = s_getc();
|
||||||
@ -1566,7 +1567,7 @@ void read_message(struct user_record *user, struct msg_headers *msghs, int mailn
|
|||||||
}
|
}
|
||||||
} else if (c == 66) {
|
} else if (c == 66) {
|
||||||
position++;
|
position++;
|
||||||
if (position + 15 > msg_line_count) {
|
if (position + 15 >= msg_line_count) {
|
||||||
position--;
|
position--;
|
||||||
}
|
}
|
||||||
} else if (c == 67) {
|
} else if (c == 67) {
|
||||||
|
Reference in New Issue
Block a user